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

Stack Overflow | Kunal badade | 5 months ago
  1. 0

    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{}: java.lang.ClassNotFoundException

    Stack Overflow | 5 months ago | Kunal badade
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.main/com.example.main.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.main.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.main-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.main-1, /system/lib]]
  2. 0

    Android Runtime Fatal Exception:main

    Stack Overflow | 1 year ago | Siyu
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.freeflow/com.example.freeflow.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.freeflow.MainActivity" on path: DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/data/app/com.example.freeflow-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.freeflow-1, /system/lib]]
  3. 0

    Question:无法通过LocalActivityManager的startActivity启动plugin

    GitHub | 1 year ago | hellohano
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{maf.nd.com.rulerdemo/maf.nd.com.rulerdemo.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "maf.nd.com.rulerdemo.MainActivity" on path: DexPathList[[zip file "/data/data/com.example.TestPlugin/Plugin/maf.nd.com.rulerdemo/apk/base-1.apk"],nativeLibraryDirectories=[/data/data/com.example.TestPlugin/Plugin/maf.nd.com.rulerdemo/lib, /vendor/lib, /system/lib]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Question:无法通过LocalActivityManager的startActivity启动plugin

    GitHub | 1 year ago | hellohano
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{maf.nd.com.rulerdemo/maf.nd.com.rulerdemo.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "maf.nd.com.rulerdemo.MainActivity" on path: DexPathList[[zip file "/data/data/com.example.TestPlugin/Plugin/maf.nd.com.rulerdemo/apk/base-1.apk"],nativeLibraryDirectories=[/data/data/com.example.TestPlugin/Plugin/maf.nd.com.rulerdemo/lib, /vendor/lib, /system/lib]]
  6. 0

    Simon Mac Donald: Barcode Scanner Example Projects

    blogspot.com | 3 months ago
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.simonmacdonald.scan/com.google.zxing.client.android.CaptureActivity}: java.lang.ClassNotFoundException: com.google.zxing.client.android.CaptureActivity

  1. filpgame 2 times, last 1 week ago
  2. dealloc 2 times, last 2 weeks ago
  3. Alexandru Popa 8 times, last 2 weeks ago
  4. syntech16 1 times, last 1 month ago
  5. franky li 2 times, last 1 month ago
47 more registered users
48 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.main.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.main-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.main-1, /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:497)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:457)
    2 frames
  4. Android Platform
    ActivityThread.performLaunchActivity
    1. android.app.Instrumentation.newActivity(Instrumentation.java:1061)
    2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2101)
    2 frames