android.content.ActivityNotFoundException

Unable to find explicit activity class {com.example.user.naviapp/com.example.user.naviapp.SecondActivity}; have you declared this activity in your AndroidManifest.xml?

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1145

Stack trace

  • android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.user.naviapp/com.example.user.naviapp.SecondActivity}; have you declared this activity in your AndroidManifest.xml? at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1512) at android.app.Instrumentation.execStartActivity(Instrumentation.java:1388) at android.app.Activity.startActivityForResult(Activity.java:3190) at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:871) at android.app.Activity.startActivity(Activity.java:3297) at com.example.user.naviapp.MapsActivity$1.onClick(MapsActivity.java:49) at android.view.View.performClick(View.java:3558) at android.view.View$PerformClick.run(View.java:14157) at android.os.Handler.handleCallback(Handler.java:605) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4514) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557) at dalvik.system.NativeStart.main(Native Method)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

andreeaa marinandreeaa marin
8 times, last one
Emrah KüçükEmrah Küçük
3 times, last one
Unknown visitor
Unknown visitorOnce,
mathan mmathan m
2 times, last one
Mathan ChinnaMathan Chinna
Once,
94 more bugmates