java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Getting IllegalStateException on button click
    via Stack Overflow by yash1996
    ,
  • Application crashes when open youtube link
    via Stack Overflow by Sniper
    ,
    • java.lang.IllegalStateException: Could not execute method for android:onClick at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293) at android.view.View.performClick(View.java:4278) at android.view.View$PerformClick.run(View.java:17429) at android.os.Handler.handleCallback(Handler.java:725) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5099) 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:803) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:570) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288) ... 11 more Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.unholyalliance.infinitestream/com.example.unholyalliance.infinitestream.Host}; have you declared this activity in your AndroidManifest.xml? at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1633) at android.app.Instrumentation.execStartActivity(Instrumentation.java:1425) at android.app.Activity.startActivityForResult(Activity.java:3370) at android.app.Activity.startActivityForResult(Activity.java:3331) at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:843) at android.app.Activity.startActivity(Activity.java:3566) at android.app.Activity.startActivity(Activity.java:3534) at com.example.unholyalliance.infinitestream.MainActivity.host(MainActivity.java:23) ... 14 more

    Users with the same issue

    andreeaa marin
    8 times, last one,
    Emrah Küçük
    3 times, last one,
    Unknown visitor1 times, last one,
    mathan m
    2 times, last one,
    Mathan Chinna
    1 times, last one,
    92 more bugmates