java.lang.IllegalStateException

Could not execute method for android:onClick


Solutions on the web19937

Solution icon of github
via GitHub by svalo
, 1 year ago
Could not execute method for android:onClick

Solution icon of github
via GitHub by btusca
, 1 year ago
Could not execute method for android:onClick

Solution icon of github
via GitHub by ascoril
, 9 months ago
Could not execute method for android:onClick

Solution icon of github
Could not execute method for android:onClick

Solution icon of github
via GitHub by jkwok678
, 1 year ago
Could not execute method for android:onClick

Solution icon of github
Could not execute method for android:onClick

Solution icon of github
Could not execute method for android:onClick

Solution icon of github
Could not execute method for android:onClick

Solution icon of stackoverflow
Could not execute method for android:onClick

Solution icon of stackoverflow
Could not execute method for android:onClick

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:4084) at android.view.View$PerformClick.run(View.java:16966) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4745) 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:786) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) 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: java.lang.NoClassDefFoundError: android.icu.text.SimpleDateFormat at com.clackityclack.parseproject.childAddActivity.done(childAddActivity.java:69) ... 14 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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.