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

在demo上可以安装,但启动即崩溃 #452

Open
IDoBelieve opened this issue Mar 13, 2020 · 0 comments
Open

在demo上可以安装,但启动即崩溃 #452

IDoBelieve opened this issue Mar 13, 2020 · 0 comments

Comments

@IDoBelieve
Copy link

2020-03-13 22:50:41.506 21250-21250/com.example.TestPlugin:PluginP06 E/MyCrashHandler: uncaughtExceptionjava.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.ztgame.bob/com.ztgame.bobcom.ztgame.bob.UnityPlayerActivity}: java.lang.ClassNotFoundException: Didn't find class "com.ztgame.bobcom.ztgame.bob.UnityPlayerActivity" on path: DexPathList[[zip file "/data/user/0/com.example.TestPlugin/Plugin/com.ztgame.bob/apk/base-1.apk"],nativeLibraryDirectories=[/data/user/0/com.example.TestPlugin/Plugin/com.ztgame.bob/lib, /system/lib64, /vendor/lib64, /product/lib64]]
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3201)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3411)
at android.app.ActivityThread.-wrap12(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1994)
at android.os.Handler.dispatchMessage(Handler.java:108)
at android.os.Looper.loop(Looper.java:166)
at android.app.ActivityThread.main(ActivityThread.java:7529)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.ztgame.bobcom.ztgame.bob.UnityPlayerActivity" on path: DexPathList[[zip file "/data/user/0/com.example.TestPlugin/Plugin/com.ztgame.bob/apk/base-1.apk"],nativeLibraryDirectories=[/data/user/0/com.example.TestPlugin/Plugin/com.ztgame.bob/lib, /system/lib64, /vendor/lib64, /product/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at com.morgoo.droidplugin.core.PluginClassLoader.loadClass(PluginClassLoader.java:74)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.Instrumentation.newActivity(Instrumentation.java:1178)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3191)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3411) 
at android.app.ActivityThread.-wrap12(Unknown Source:0) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1994) 
at android.os.Handler.dispatchMessage(Handler.java:108) 
at android.os.Looper.loop(Looper.java:166) 
at android.app.ActivityThread.main(ActivityThread.java:7529) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921) 

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