1
回答
android动态加载jar(dex)包,包中包含Activity,如何启动这个activity
极速云服务器,低至1.04元/天>>>   
07-09 15:44:50.089: D/AndroidRuntime(11042): Shutting down VM
07-09 15:44:50.090: W/System.err(11042): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.cncntest.test51/com.cmcc.cmvsdk.main.NewOrderActivity}: java.lang.ClassNotFoundException: Didn't find class "com.cmcc.cmvsdk.main.NewOrderActivity" on path: DexPathList[[zip file "/data/app/com.cncntest.test51-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.cncntest.test51-1, /vendor/lib, /system/lib]]
07-09 15:44:50.090: W/System.err(11042):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2317)
07-09 15:44:50.090: W/System.err(11042):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2443)
07-09 15:44:50.090: W/System.err(11042):     at android.app.ActivityThread.access$600(ActivityThread.java:171)
07-09 15:44:50.090: W/System.err(11042):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1387)
07-09 15:44:50.090: W/System.err(11042):     at android.os.Handler.dispatchMessage(Handler.java:107)
07-09 15:44:50.091: W/System.err(11042):     at android.os.Looper.loop(Looper.java:194)
07-09 15:44:50.091: W/System.err(11042):     at android.app.ActivityThread.main(ActivityThread.java:5433)
07-09 15:44:50.091: W/System.err(11042):     at java.lang.reflect.Method.invokeNative(Native Method)
07-09 15:44:50.091: W/System.err(11042):     at java.lang.reflect.Method.invoke(Method.java:525)
07-09 15:44:50.091: W/System.err(11042):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:853)
07-09 15:44:50.091: W/System.err(11042):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
07-09 15:44:50.091: W/System.err(11042):     at dalvik.system.NativeStart.main(Native Method)
07-09 15:44:50.091: W/System.err(11042): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.cmcc.cmvsdk.main.NewOrderActivity" on path: DexPathList[[zip file "/data/app/com.cncntest.test51-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.cncntest.test51-1, /vendor/lib, /system/lib]]
07-09 15:44:50.092: W/System.err(11042):     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:53)
07-09 15:44:50.092: W/System.err(11042):     at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
07-09 15:44:50.092: W/System.err(11042):     at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
07-09 15:44:50.092: W/System.err(11042):     at android.app.Instrumentation.newActivity(Instrumentation.java:1123)
07-09 15:44:50.092: W/System.err(11042):     at com.lbe.security.service.core.client.b.x.newActivity(Unknown Source)
07-09 15:44:50.092: W/System.err(11042):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2308)

07-09 15:44:50.092: W/System.err(11042):     ... 11 more

请问这个问题该如何解决。

举报
王鹏
发帖于2年前 1回/1K+阅
顶部