[Android Studio]java.lang.RuntimeException: Unable to instantiate activity ComponentInfo java.lang.ClassNotFoundException: on path: DexPathList -


i'm having app , works in android lollipop , above, if installed app in android kitkat device, application crashes , show error below:

java.lang.runtimeexception: unable instantiate activity componentinfo{com.splashactivity}: java.lang.classnotfoundexception: didn't find class "com.splashactivity" on path: dexpathlist[[zip file "/data/app/com.partner-1.apk"],nativelibrarydirectories=[/data/app-lib/com.partner-1, /system/lib]] @ android.app.activitythread.performlaunchactivity(activitythread.java:2131) @ android.app.activitythread.handlelaunchactivity(activitythread.java:2271) @ android.app.activitythread.access$800(activitythread.java:144) @ android.app.activitythread$h.handlemessage(activitythread.java:1205) @ android.os.handler.dispatchmessage(handler.java:102) @ android.os.looper.loop(looper.java:136) @ android.app.activitythread.main(activitythread.java:5146) @ java.lang.reflect.method.invokenative(native method) @ java.lang.reflect.method.invoke(method.java:515) @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:732) @ com.android.internal.os.zygoteinit.main(zygoteinit.java:566) @ dalvik.system.nativestart.main(native method) caused by: java.lang.classnotfoundexception: didn't find class "com.splashactivity" on path: dexpathlist[[zip file "/data/app/com.partner-1.apk"],nativelibrarydirectories=[/data/app-lib/com.partner-1, /system/lib]] @ dalvik.system.basedexclassloader.findclass(basedexclassloader.java:56) @ java.lang.classloader.loadclass(classloader.java:497) @ java.lang.classloader.loadclass(classloader.java:457) @ android.app.instrumentation.newactivity(instrumentation.java:1061) @ android.app.activitythread.performlaunchactivity(activitythread.java:2122) @ android.app.activitythread.handlelaunchactivity(activitythread.java:2271)  @ android.app.activitythread.access$800(activitythread.java:144)  @ android.app.activitythread$h.handlemessage(activitythread.java:1205)  @ android.os.handler.dispatchmessage(handler.java:102)  @ android.os.looper.loop(looper.java:136)  @ android.app.activitythread.main(activitythread.java:5146)  @ java.lang.reflect.method.invokenative(native method)  @ java.lang.reflect.method.invoke(method.java:515)  @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:732)  @ com.android.internal.os.zygoteinit.main(zygoteinit.java:566)  @ dalvik.system.nativestart.main(native method) 

i tried lot , not able fix it, of answers eclipse projects.

any appreciated thank you.

i came across same problem , this setting saved day. hope helps ;)


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -