java.lang.IllegalStateException: Could not execute method for android:onClick


Solutions on the web337

Solution icon of stackoverflow
via Stack Overflow by Sybil Naushad
, 1 year ago
Could not execute method for android:onClick

Solution icon of stackoverflow
via Stack Overflow by Mateusz Rzepczyk
, 1 year ago
Could not execute method for android:onClick

Solution icon of stackoverflow
via Stack Overflow by ghumdan16
, 1 year ago
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

Solution icon of stackoverflow
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

Solution icon of stackoverflow
via Stack Overflow by rajni
, 1 year ago
Could not execute method for android:onClick

Solution icon of stackoverflow
via Stack Overflow by Stipe_K
, 6 months ago
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.