- Home /
ClassNotFoundException on UnityPlayerProxyActivity on some devices
Hi, i ve pubblished a game on google play, and its working on all my devices, but a user have send me an ANR (an error log direct from device to my google play app console) showing this:
`java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.velvet.squareGame/com.unity3d.player.UnityPlayerProxyActivity}: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.player.UnityPlayerProxyActivity" on path: DexPathList[[],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2182)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2313)
at android.app.ActivityThread.access$800(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1246)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5212)
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:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.player.UnityPlayerProxyActivity" on path: DexPathList[[],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at android.app.Instrumentation.newActivity(Instrumentation.java:1062)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2166)`
He was unable to install the app on his Xperia M2 (D2306), running android 4.4. I was using admob, facebook sdk, google play services and google play games together in this app. Anyone can help? Thanks.
Have you found a solution? I am having the same issue. java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.SineDigital.HumanDesignApp/com.unity3d.player.UnityPlayerProxyActivity}: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.player.UnityPlayerProxyActivity" on path: DexPathList[[zip file "/mnt/asec/com.SineDigital.HumanDesignApp-2/pkg.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2256) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2389) at android.app.ActivityThread.access$900(ActivityThread.java:169) at android.app.ActivityThread$H.handle$$anonymous$$essage(ActivityThread.java:1277) at android.os.Handler.dispatch$$anonymous$$essage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5479) at java.lang.reflect.$$anonymous$$ethod.invokeNative(Native $$anonymous$$ethod) at java.lang.reflect.$$anonymous$$ethod.invoke($$anonymous$$ethod.java:515) at com.android.internal.os.ZygoteInit$$$anonymous$$ethodAndArgsCaller.run(ZygoteInit.java:1283) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099) at dalvik.system.NativeStart.main(Native $$anonymous$$ethod) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.player.UnityPlayerProxyActivity" on path: DexPathList[[zip file "/mnt/asec/com.SineDigital.HumanDesignApp-2/pkg.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:67) at java.lang.ClassLoader.loadClass(ClassLoader.java:497) at java.lang.ClassLoader.loadClass(ClassLoader.java:457) at android.app.Instrumentation.newActivity(Instrumentation.java:1067) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2247) ... 11 more Suppressed: java.io.IOException: unable to open DEX file at dalvik.system.DexFile.openDexFileNative(Native $$anonymous$$ethod) at dalvik.system.DexFile.openDexFile(DexFile.java:296) at dalvik.system.DexFile.(DexFile.java:80) at dalvik.system.DexFile.(DexFile.java:59) at dalvik.system.DexPathList.loadDexFile(DexPathList.java:263) at dalvik.system.DexPathList.makeDexElements(DexPathList.java:230) at dalvik.system.DexPathList.(DexPathList.java:112) at dalvik.system.BaseDexClassLoader.(BaseDexClassLoader.java:58) at dalvik.system.PathClassLoader.(PathClassLoader.java:65) at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57) at android.app.LoadedApk.getClassLoader(LoadedApk.java:326) at android.app.LoadedApk.makeApplication(LoadedApk.java:508) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4585) at android.app.ActivityThread.access$1600(ActivityThread.java:169) at android.app.ActivityThread$H.handle$$anonymous$$essage(ActivityThread.java:1337) ... 8 more