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]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via coderanch.com by Unknown author, 1 year ago
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]
via coderanch.com by Unknown author, 1 year ago
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]
via Coderanch by sam liya, 10 months ago
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]
via Coderanch by achuthan mukundarajan, 10 months ago
Unable to instantiate activity ComponentInfo{com.example.collegefinder/com.igloo.collegefinder.SplashScreen}: java.lang.ClassNotFoundException: com.igloo.collegefinder.SplashScreen in loader dalvik.system.PathClassLoader[/data/app/com.example.collegefinder-1.apk]
via Oracle Community by Erduran, 1 year ago
Unable to instantiate activity ComponentInfo{tests.sync/tests.sync.MainAct}: java.lang.ClassNotFoundException: tests.sync.MainAct in loader dalvik.system.PathClassLoader[data/app/tests.sync-1.apk]
via Stack Overflow by someone_ smiley
, 2 years ago
Unable to instantiate activity ComponentInfo{net.xeomax.TestRocket/net.xeomax.TestRocket.TestRocket}: java.lang.ClassNotFoundException: net.xeomax.TestRocket.TestRocket in loader dalvik.system.PathClassLoader[/data/app/net.xeomax.TestRocket-1.apk]
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]
at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1561)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3683)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.