java.lang.ClassNotFoundException: Didn't find class "com.example.mobile.activities.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.mobile-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.mobile-2/lib/x86, /vendor/lib, /system/lib]]

Stack Overflow | AsafK | 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

    Android Wear - java.lang.ClassNotFoundException

    Stack Overflow | 10 months ago | AsafK
    java.lang.ClassNotFoundException: Didn't find class "com.example.mobile.activities.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.mobile-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.mobile-2/lib/x86, /vendor/lib, /system/lib]]
  2. 0

    Phonegap 3.1 installs two shortcuts to the app, and one is broken

    Stack Overflow | 4 years ago | joshstrike
    java.lang.ClassNotFoundException: com.fernando.ActivityGoogleMap
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Android Studio Support Lib SlidePanel

    Stack Overflow | 4 years ago | piotrpo
    java.lang.ClassNotFoundException: Didn't find class "com.example.myapplication2.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.myapplication2-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.myapplication2-1, /vendor/lib, /system/lib]]
  5. 0

    Android ClassNotFoundException when I run googlecast sample

    Stack Overflow | 4 years ago | henry
    java.lang.ClassNotFoundException: com.example.castsample.CastSampleActivity

  1. ahmed 6 times, last 2 months ago
  2. Indri Yunita 4 times, last 2 months ago
  3. Adrien 6 times, last 4 months ago
  4. filpgame 2 times, last 6 months ago
  5. dealloc 5 times, last 6 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.mobile.activities.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.mobile-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.mobile-2/lib/x86, /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.performLaunchActivity
    1. android.app.Instrumentation.newActivity(Instrumentation.java:1067)
    2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2317)
    2 frames