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]]

unity3d.com | 8 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0

    Android build crashes on start up. - Unity Answers

    unity3d.com | 8 months ago
    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]]
  2. 0

    Activity crashing when overriding SherlockActivity

    Stack Overflow | 4 years ago | user2057016
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.p4p.joinme/com.p4p.joinme.MainActivity}: java.lang.ClassNotFoundException: com.p4p.joinme.MainActivity
  3. 0

    My app keeps crashing in the emulator

    Stack Overflow | 3 years ago | user3289794
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{martin.productions.counter/martin.productions.counter.Counter}: java.lang.ClassNotFoundException: Didn't find class "martin.productions.counter.Counter" on path: DexPathList[[zip file "/data/app/martin.productions.counter- 2.apk"],nativeLibraryDirectories=[/data/app-lib/martin.productions.counter-2, /system/lib]] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2121) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    This exception normally means you either have to add the said class to your dependencies or you miswrote it. Look in the documentation of your library how to add it as a dependency.
  6. 0
    samebug tip
    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add with the following: <groupId>com.fasterxml</groupId> <artifactId>classmate</artifactId> <version>1.0</version>

  1. rsprangemeijer 6 times, last 3 days ago
  2. marcbouvierdav 26 times, last 4 days ago
  3. batwalrus76 12 times, last 5 days ago
  4. musketyr 1 times, last 5 days ago
  5. SteVio1989 4 times, last 6 days ago
69 more registered users
26 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:511)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:469)
    2 frames
  3. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.newActivity(Instrumentation.java:1083)
    2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2312)
    3. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2474)
    4. android.app.ActivityThread.access$800(ActivityThread.java:144)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1359)
    6. android.os.Handler.dispatchMessage(Handler.java:102)
    7. android.os.Looper.loop(Looper.java:155)
    8. android.app.ActivityThread.main(ActivityThread.java:5696)
    8 frames
  4. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  5. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)
    2 frames