Could not execute method for android:onClick

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

  • via Stack Overflow by Justin
  • Stack trace

    • java.lang.IllegalStateException: Could not execute method for android:onClick at$DeclaredOnClickListener.onClick( at android.view.View.performClick( at android.view.View$ at android.os.Handler.handleCallback( at android.os.Handler.dispatchMessage( at android.os.Looper.loop( at at java.lang.reflect.Method.invoke(Native Method) at$ at Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at$DeclaredOnClickListener.onClick( ... 9 more Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.myapp.myapp/com.myapp.myapp.Register}; have you declared this activity in your AndroidManifest.xml? at at at at at at at at at at com.myapp.myapp.Login.signUp( ... 11 more

    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

    Hiren AmaliyarHiren Amaliyar
    2 times, last one
    4 times, last one
    47 times, last one
    6 times, last one
    Alexandru PopaAlexandru Popa
    3 times, last one
    94 more bugmates