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

GitHub | roylin1994 | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Convert Jimple to dex and repack dex to apk,apk can't run on the device.

    GitHub | 10 months ago | roylin1994
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.activitylifecycletest/com.example.activitylifecycletest.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.activitylifecycletest.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.activitylifecycletest-1/base.apk"],nativeLibraryDirectories=[/data/app/com.example.activitylifecycletest-1/lib/arm, /vendor/lib, /system/lib]]
  2. 0

    Why unable to instantiate application my.package.App?

    Stack Overflow | 3 years ago | thecr0w
    java.lang.RuntimeException: Unable to instantiate application my.package.App: java.lang.ClassNotFoundException: Didn't find class "my.package.App" on path: DexPathList[dexElements=[],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
  3. 0

    App doesn't startup on Android

    GitHub | 3 years ago | marvinosswald
    java.lang.RuntimeException: Unable to get provider de.appplant.cordova.plugin.emailcomposer.AttachmentProvider: java.lang.ClassNotFoundException: Didn't find class "de.appplant.cordova.plugin.emailcomposer.AttachmentProvider" on path: DexPathList[[zip file "/data/app/de.mo.mepantrag-3.apk"],nativeLibraryDirectories=[/data/app-lib/de.mo.mepantrag-3, /vendor/lib, /system/lib]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassNotFound org.stuff.clojuroid.Application

    GitHub | 4 years ago | kenrestivo
    java.lang.RuntimeException: Unable to instantiate application org.stuff.clojuroid.Application: java.lang.ClassNotFoundException: Didn't find class "org.stuff.clojuroid.Application" on path: /data/app/org.stuff.clojuroid-1.apk
  6. 0

    Can't run app created with lein-droid 0.2.0-preview4

    GitHub | 3 years ago | krisc
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{org.stuff.test/org.stuff.test.SplashActivity}: java.lang.ClassNotFoundException: Didn't find class "org.stuff.test.SplashActivity" on path: /data/app/org.stuff.test-1.apk

  1. Adrien 6 times, last 3 months ago
  2. Indri Yunita 1 times, last 5 months ago
  3. ajinkya_w 3 times, last 6 months ago
  4. Andreas Häber 1 times, last 7 months ago
  5. aakash 3 times, last 9 months ago
49 more registered users
46 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.example.activitylifecycletest.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.activitylifecycletest-1/base.apk"],nativeLibraryDirectories=[/data/app/com.example.activitylifecycletest-1/lib/arm, /vendor/lib, /system/lib]]

    at dalvik.system.BaseDexClassLoader.findClass()
  2. Android Platform
    BaseDexClassLoader.findClass
    1. dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    1 frame
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:511)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:469)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.newActivity(Instrumentation.java:1068)
    2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2324)
    3. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2483)
    4. android.app.ActivityThread.access$900(ActivityThread.java:153)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1349)
    6. android.os.Handler.dispatchMessage(Handler.java:102)
    7. android.os.Looper.loop(Looper.java:148)
    8. android.app.ActivityThread.main(ActivityThread.java:5438)
    8 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
    2 frames