FATAL EXCEPTION: main
Process: io.dcloud.EDJL, PID: 21188
java.lang.NoClassDefFoundError: io.dcloud.common.util.BaseInfo
at io.dcloud.common.adapter.util.DeviceInfo.initPath(DeviceInfo.java:208)
at io.dcloud.common.adapter.util.UEH.catchUncaughtException(UEH.java:43)
at io.dcloud.application.DCloudApplication.onCreate(DCloudApplication.java:43)
at io.dcloud.EDJL.App.onCreate(App.java:30)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4328)
at android.app.ActivityThread.access$1500(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)
at dalvik.system.NativeStart.main(Native Method)
3 个回复
乘风破浪 (作者)
真机是好的,模拟器不行
乘风破浪 (作者)
FATAL EXCEPTION: main
Process: io.dcloud.EDJL, PID: 21188
java.lang.NoClassDefFoundError: io.dcloud.common.util.BaseInfo
at io.dcloud.common.adapter.util.DeviceInfo.initPath(DeviceInfo.java:208)
at io.dcloud.common.adapter.util.UEH.catchUncaughtException(UEH.java:43)
at io.dcloud.application.DCloudApplication.onCreate(DCloudApplication.java:43)
at io.dcloud.EDJL.App.onCreate(App.java:30)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4328)
at android.app.ActivityThread.access$1500(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)
at dalvik.system.NativeStart.main(Native Method)
乘风破浪 (作者)
Android Studio报错