java.lang.RuntimeException

Unable to instantiate activity ComponentInfo{com.palettecad.palettemove/com.google.unity.GoogleUnityActivity}: java.lang.ClassNotFoundException: Didn't find class "com.google.unity.GoogleUnityActivity" on path: DexPathList[[zip file "/data/app/com.palettecad.palettemove-1/base.apk"],nativeLibraryDirectories=[/data/app/com.palettecad.palettemove-1/lib/arm, /vendor/lib, /system/lib]]

Samebug tips5

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.


rafaelrafael

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web10601

  • via Unknown by Unknown author,
  • via Stack Overflow by user3289794
    ,
  • Stack trace

    • java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.palettecad.palettemove/com.google.unity.GoogleUnityActivity}: java.lang.ClassNotFoundException: Didn't find class "com.google.unity.GoogleUnityActivity" on path: DexPathList[[zip file "/data/app/com.palettecad.palettemove-1/base.apk"],nativeLibraryDirectories=[/data/app/com.palettecad.palettemove-1/lib/arm, /vendor/lib, /system/lib]] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2322) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2474) at android.app.ActivityThread.access$800(ActivityThread.java:144) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1359) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:155) at android.app.ActivityThread.main(ActivityThread.java:5696) 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:1028) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.unity.GoogleUnityActivity" on path: DexPathList[[zip file "/data/app/com.palettecad.palettemove-1/base.apk"],nativeLibraryDirectories=[/data/app/com.palettecad.palettemove-1/lib/arm, /vendor/lib, /system/lib]] atdalvik.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:1083) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2312) ... 10 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    mauritiusmauritius
    17 times, last one
    HandemelindoHandemelindo
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    guizmaiiguizmaii
    3 times, last one
    Unknown visitor
    Unknown visitorOnce,
    1929 more bugmates