Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main-plugin-a无法启动 #145

Open
e-snail opened this issue Jul 29, 2016 · 1 comment
Open

main-plugin-a无法启动 #145

e-snail opened this issue Jul 29, 2016 · 1 comment

Comments

@e-snail
Copy link

e-snail commented Jul 29, 2016

启动错误
`java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.ryg.dynamicload.sample.mainplugina/com.ryg.dynamicload.sample.mainplugin.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.ryg.dynamicload.sample.mainplugin.MainActivity" on path: DexPathList[[zip file "/data/app/com.ryg.dynamicload.sample.mainplugina-1/base.apk"],nativeLibraryDirectories=[/data/app/com.ryg.dynamicload.sample.mainplugina-1/lib/arm64, /vendor/lib64, /system/lib64]]

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3094)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350)

at android.app.ActivityThread.access$1100(ActivityThread.java:222)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:158)

at android.app.ActivityThread.main(ActivityThread.java:7237)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Caused by: java.lang.ClassNotFoundException: Didn't find class "com.ryg.dynamicload.sample.mainplugin.MainActivity" on path: DexPathList[[zip file "/data/app/com.ryg.dynamicload.sample.mainplugina-1/base.apk"],nativeLibraryDirectories=[/data/app/com.ryg.dynamicload.sample.mainplugina-1/lib/arm64, /vendor/lib64, /system/lib64]]

at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)

at java.lang.ClassLoader.loadClass(ClassLoader.java:511)

at java.lang.ClassLoader.loadClass(ClassLoader.java:469)

at android.app.Instrumentation.newActivity(Instrumentation.java:1095)

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3084)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350) 

at android.app.ActivityThread.access$1100(ActivityThread.java:222) 

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795) `

@e-snail
Copy link
Author

e-snail commented Jul 29, 2016

插件不能单独启动吗?不能的话怎么调试呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant