java.lang.IllegalStateException

Could not find a method doThis(View) in the activity class android.support.v7.widget.TintContextWrapper for onClick handler on view class android.support.v7.widget.AppCompatButton with id 'myButton'


Solutions on the web30618

Solution icon of stackoverflow
Could not find a method doThis(View) in the activity class android.support.v7.widget.TintContextWrapper for onClick handler on view class android.support.v7.widget.AppCompatButton with id 'myButton'

Solution icon of stackoverflow
Could not find a method onClick(View) in the activity class android.support.v7.widget.TintContextWrapper for onClick handler on view class android.support.v7.widget.AppCompatButton with id 'btBack'

Solution icon of stackoverflow
Could not find a method showTOC(View) in the activity class android.support.v7.widget.TintContextWrapper for onClick handler on view class android.support.v7.widget.AppCompatButton with id 'btn_show_toc_id'

Solution icon of github
Could not find a method onClick(View) in the activity class android.support.v7.widget.TintContextWrapper for onClick handler on view class android.support.v7.widget.AppCompatImageButton with id 'close'

Solution icon of web
Could not find a method onClickView(View) in the activity class android.support.v7.widget.TintContextWrapper for onClick handler on view class android.support.v7.widget.AppCompatButton

Solution icon of stackoverflow
Could not find a method onClickNext(View) in the activity class android.support.v7.internal.view.ContextThemeWrapper for onClick handler on view class android.support.v7.widget.AppCompatButton with id 'button2to3new'

Solution icon of web
Could not find a method startPagesOverviewActivity(View) in the activity class android.support.v7.widget.TintContextWrapper for onClick handler on view class android.support.design.widget.FloatingActionButton with id 'spread_fab_pages'

Solution icon of stackoverflow
via Stack Overflow by Sharan
, 1 year ago
Could not find a method Send(View) in the activity class com.sharansoni.www.messenger.Contacts for onClick handler on view class android.support.v7.widget.AppCompatButton with id 'buttonSend'

Solution icon of web
via thenewboston.com by Unknown author, 1 year ago
Could not find a method sendOutBroadcast(View) in the activity class abdelilah.sentbroadcast.MainActivity for onClick handler on view class android.support.v7.widget.AppCompatButton with id 'sendButton'

Solution icon of stackoverflow
Could not find a method (View) in the activity class com.example.daniel.proto.Home for onClick handler on view class android.support.v7.widget.AppCompatButton with id 'playButton'

Stack trace

  • java.lang.IllegalStateException: Could not find a method doThis(View) in the activity class android.support.v7.widget.TintContextWrapper for onClick handler on view class android.support.v7.widget.AppCompatButton with id 'myButton' at android.view.View$1.onClick(View.java:3843) at android.view.View.performClick(View.java:4471) at android.view.View$PerformClick.run(View.java:18778) at android.os.Handler.handleCallback(Handler.java:808) at android.os.Handler.dispatchMessage(Handler.java:103) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:5324) 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:824) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:640) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NoSuchMethodException: doThis [class android.view.View] at java.lang.Class.getConstructorOrMethod(Class.java:472) at java.lang.Class.getMethod(Class.java:864) at android.view.View$1.onClick(View.java:3836)

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

5 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago
95 more bugmates