java.lang.IllegalStateException

Could not execute method for android:onClick at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener .onClick(AppCompatViewInflater.java:293)

Solutions on the web21366

  • Could not execute method for android:onClick at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener .onClick(AppCompatViewInflater.java:293)
  • via Stack Overflow by mohammed joban
    , 1 year ago
    Could not execute method for android:onClick at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener .onClick(AppCompatViewInflater.java:293)
  • 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:4756)
  • Stack trace

    • 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:4438) at android.view.View$PerformClick.run(View.java:18422) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5017) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) 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:515)

    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

    Unknown user
    Once, 2 years ago
    11 times, 5 days ago
    3 times, 1 month ago
    2 times, 1 month ago
    Once, 1 month ago
    103 more bugmates