java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.hmkcode.android/com.hmkcode.android.another.app.AnotherActivity}: java.lang.ClassNotFoundException: com.hmkcode.android.another.app.AnotherActivity in loader dalvik.system.PathClassLoader[/data/app/com.hmkcode.android-1.apk]

coderanch.com | 9 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

    I got java.lang.ClassNotFoundException when i try to start activity of another application (Android forum at Coderanch)

    coderanch.com | 1 year ago
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.hmkcode.android/com.hmkcode.android.another.app.AnotherActivity}: java.lang.ClassNotFoundException: com.hmkcode.android.another.app.AnotherActivity in loader dalvik.system.PathClassLoader[/data/app/com.hmkcode.android-1.apk]
  2. 0

    I got java.lang.ClassNotFoundException when i try to start activity of another application (Android forum at Coderanch)

    coderanch.com | 9 months ago
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.hmkcode.android/com.hmkcode.android.another.app.AnotherActivity}: java.lang.ClassNotFoundException: com.hmkcode.android.another.app.AnotherActivity in loader dalvik.system.PathClassLoader[/data/app/com.hmkcode.android-1.apk]
  3. 0

    I got java.lang.ClassNotFoundException when i try to start activity of another application

    Coderanch | 3 years ago | sam liya
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.hmkcode.android/com.hmkcode.android.another.app.AnotherActivity}: java.lang.ClassNotFoundException: com.hmkcode.android.another.app.AnotherActivity in loader dalvik.system.PathClassLoader[/data/app/com.hmkcode.android-1.apk]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Trying to populate the JSON data into listview

    Stack Overflow | 4 years ago | Sky
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.coolnet2/com.example.coolnet2.MainActivity}: java.lang.ClassNotFoundException: com.example.coolnet2.MainActivity in loader dalvik.system.PathClassLoader[/data/app/com.example.coolnet2-2.apk]
  6. 0

    Android Annotations

    Stack Overflow | 4 years ago | sidlejinks
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.gl.discovercity/com.gl.discovercity.SplashScreenActivity_}: java.lang.ClassNotFoundException: com.gl.discovercity.SplashScreenActivity_ in loader dalvik.system.PathClassLoader[/data/app/com.gl.discovercity-2.apk]

  1. bayukresno 3 times, last 11 months ago
7 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

    com.hmkcode.android.another.app.AnotherActivity in loader dalvik.system.PathClassLoader[/data/app/com.hmkcode.android-1.apk]

    at dalvik.system.PathClassLoader.findClass()
  2. Android Platform
    PathClassLoader.findClass
    1. dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
    1 frame
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:551)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:511)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.newActivity(Instrumentation.java:1021)
    2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1561)
    3. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
    4. android.app.ActivityThread.access$1500(ActivityThread.java:117)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
    6. android.os.Handler.dispatchMessage(Handler.java:99)
    7. android.os.Looper.loop(Looper.java:123)
    8. android.app.ActivityThread.main(ActivityThread.java:3683)
    8 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:507)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame