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

报错: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available #27

Open
liyujiang-gzu opened this issue Jun 18, 2016 · 0 comments

Comments

@liyujiang-gzu
Copy link

liyujiang-gzu commented Jun 18, 2016

androidx.plmgrdemo E/AndroidRuntime: FATAL EXCEPTION: main
                                                                    Process: androidx.plmgrdemo, PID: 17286
                                                                    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{androidx.plmgrdemo/androidx.pluginmgr.DynamicActivity}: java.lang.ClassNotFoundException: Didn't find class "cn.qqtheme.demo.activity.WelcomeActivity" on path: DexPathList[[zip file "/data/data/androidx.plmgrdemo/app_plugins-opt/Demo  3.0.0-dev.apk"],nativeLibraryDirectories=[/data/data/androidx.plmgrdemo/app_plugins-opt/Demo  3.0.0-dev.apk-dir/lib, /vendor/lib64, /system/lib64]]
                                                                        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2466)
                                                                        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2635)
                                                                        at android.app.ActivityThread.access$800(ActivityThread.java:188)
                                                                        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1480)
                                                                        at android.os.Handler.dispatchMessage(Handler.java:111)
                                                                        at android.os.Looper.loop(Looper.java:194)
                                                                        at android.app.ActivityThread.main(ActivityThread.java:5739)
                                                                        at java.lang.reflect.Method.invoke(Native Method)
                                                                        at java.lang.reflect.Method.invoke(Method.java:372)
                                                                        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1039)
                                                                        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:834)
                                                                     Caused by: java.lang.ClassNotFoundException: Didn't find class "cn.qqtheme.demo.activity.WelcomeActivity" on path: DexPathList[[zip file "/data/data/androidx.plmgrdemo/app_plugins-opt/Demo  3.0.0-dev.apk"],nativeLibraryDirectories=[/data/data/androidx.plmgrdemo/app_plugins-opt/Demo  3.0.0-dev.apk-dir/lib, /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:1071)
                                                                        at androidx.pluginmgr.delegate.DelegateInstrumentation.newActivity(DelegateInstrumentation.java:235)
                                                                        at androidx.pluginmgr.environment.PluginInstrumentation.newActivity(PluginInstrumentation.java:74)
                                                                        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2443)
                                                                        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2635) 
                                                                        at android.app.ActivityThread.access$800(ActivityThread.java:188) 
                                                                        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1480) 
                                                                        at android.os.Handler.dispatchMessage(Handler.java:111) 
                                                                        at android.os.Looper.loop(Looper.java:194) 
                                                                        at android.app.ActivityThread.main(ActivityThread.java:5739) 
                                                                        at java.lang.reflect.Method.invoke(Native Method) 
                                                                        at java.lang.reflect.Method.invoke(Method.java:372) 
                                                                        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1039) 
                                                                        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:834) 
                                                                        Suppressed: java.lang.ClassNotFoundException: cn.qqtheme.demo.activity.WelcomeActivity
                                                                        at java.lang.Class.classForName(Native Method)
                                                                        at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
                                                                        at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
                                                                        at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
                                                                                ... 15 more
                                                                     Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
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