java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{net.wequick.example.small/net.wequick.small.A}: java.lang.ClassNotFoundException: Didn't find class "net.wequick.small.A" on path: DexPathList[[zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_app_detail.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_appok_if_stub.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_app_mine.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_lib_analytics.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libcom_example_mysmall_lib_style.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_lib_utils.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_app_main.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_app_home.so", zip file "/data/app/net.wequick.example.small-1/base.apk"],nativeLibraryDirectories=[/data/app/net.wequick.example.small-1/lib/arm, /vendor/lib, /system/lib, /data/data/net.wequick.example.small/files/storage/net.wequick.example.small.app.mine/lib/armeabi-v7a]]

GitHub | struggle111 | 3 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    官方Examples:Sample 启动直接崩了,有log信息:java.lang.RuntimeException: Unable to instantiate activity ComponentInfo

    GitHub | 3 months ago | struggle111
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{net.wequick.example.small/net.wequick.small.A}: java.lang.ClassNotFoundException: Didn't find class "net.wequick.small.A" on path: DexPathList[[zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_app_detail.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_appok_if_stub.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_app_mine.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_lib_analytics.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libcom_example_mysmall_lib_style.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_lib_utils.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_app_main.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_app_home.so", zip file "/data/app/net.wequick.example.small-1/base.apk"],nativeLibraryDirectories=[/data/app/net.wequick.example.small-1/lib/arm, /vendor/lib, /system/lib, /data/data/net.wequick.example.small/files/storage/net.wequick.example.small.app.mine/lib/armeabi-v7a]]
  2. 0

    混淆后无法运行

    GitHub | 1 year ago | eaglelzy
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{net.wequick.example.small/net.wequick.small.A}: java.lang.ClassNotFoundException: Didn't find class "net.wequick.example.small.app.main.MainActivity" on path: DexPathList[[zip file "/data/data/net.wequick.example.small/lib/libnet_wequick_example_small_app_detail.so", zip file "/data/data/net.wequick.example.small/lib/libnet_wequick_example_small_app_mine.so", zip file "/data/data/net.wequick.example.small/lib/libnet_wequick_example_small_app_home.so", zip file "/data/data/net.wequick.example.small/lib/libnet_wequick_example_small_app_main.so", zip file "/data/data/net.wequick.example.small/lib/libcom_example_mysmall_lib_style.so", zip file "/data/data/net.wequick.example.small/lib/libnet_wequick_example_small_lib_utils.so", zip file "/data/app/net.wequick.example.small-2/base.apk"],nativeLibraryDirectories=[/data/app/net.wequick.example.small-2/lib/arm, /vendor/lib, /system/lib]]
  3. 0

    GitHub comment 354#260127192

    GitHub | 6 months ago | kongyan4696
    java.lang.RuntimeException: Unable to instantiate service net.wequick.example.small.appok_if_stub.MyService: java.lang.ClassNotFoundException: Didn't find class "net.wequick.example.small.appok_if_stub.MyService" on path: DexPathList[[zip file "/data/app/net.wequick.example.small-2/base.apk"],nativeLibraryDirectories=[/data/app/net.wequick.example.small-2/lib/arm, /system/fake-libs, /data/app/net.wequick.example.small-2/base.apk!/lib/armeabi, /system/lib, /vendor/lib]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    BUG: 进程服务,bindservice报ClassNotFoundException

    GitHub | 6 months ago | kongyan4696
    java.lang.ClassNotFoundException: Didn't find class"net.wequick.example.small.appok_if_stub.MyService" on path: DexPathList[[zip file "/data/app/net.wequick.example.small-2/base.apk"],nativeLibraryDirectories=[/data/app/net.wequick.example.small-2/lib/arm, /system/fake-libs, /data/app/net.wequick.example.small-2/base.apk!/lib/armeabi, /system/lib, /vendor/lib]]

  1. Adrien 6 times, last 4 months ago
  2. Indri Yunita 1 times, last 6 months ago
  3. ajinkya_w 3 times, last 7 months ago
  4. Andreas Häber 1 times, last 7 months ago
  5. aakash 3 times, last 10 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 "net.wequick.small.A" on path: DexPathList[[zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_app_detail.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_appok_if_stub.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_app_mine.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_lib_analytics.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libcom_example_mysmall_lib_style.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_lib_utils.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_app_main.so", zip file "/data/app/net.wequick.example.small-1/lib/arm/libnet_wequick_example_small_app_home.so", zip file "/data/app/net.wequick.example.small-1/base.apk"],nativeLibraryDirectories=[/data/app/net.wequick.example.small-1/lib/arm, /vendor/lib, /system/lib, /data/data/net.wequick.example.small/files/storage/net.wequick.example.small.app.mine/lib/armeabi-v7a]]

    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:1073)
    2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2281)
    3. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2459)
    4. android.app.ActivityThread.access$900(ActivityThread.java:155)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354)
    6. android.os.Handler.dispatchMessage(Handler.java:102)
    7. android.os.Looper.loop(Looper.java:139)
    8. android.app.ActivityThread.main(ActivityThread.java:5338)
    8 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:950)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)
    2 frames