java.lang.IllegalStateException: Could not find a method new(View) in the activity class com.android.tools.fd.runtime.BootstrapApplication for onClick handler on view class android.widget.ImageButton with id 'ivImage'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Fahad Shah
, 1 year ago
Could not find a method new(View) in the activity class com.android.tools.fd.runtime.BootstrapApplication for onClick handler on view class android.widget.ImageButton with id 'ivImage'
via Stack Overflow by hichris123
, 2 years ago
Could not find a method sendMessage(View) in the activity class com.dev.chicagotraintracker.MainActivity for onClick handler on view class android.widget.ImageButton with id 'Button'
via Stack Overflow by satorikomeiji
, 2 years ago
Could not find a method handleUpdate(View) in the activity class android.support.v7.internal.view.ContextThemeWrapper for onClick handler on view class android.widget.ImageButton with id 'updateButton'
via Stack Overflow by Lucas
, 2 years ago
Could not find a method RunAnimations(View) in the activity class com.test.AnimationtestActivity for onClick handler on view class android.widget.ImageButton with id 'plus1'
via xamarin.com by Unknown author, 1 year ago
Could not find a method OpenSettings(View) in the activity class android.view.ContextThemeWrapper for onClick handler on view class android.widget.ImageButton with id 'action_settings'
via xluat.com by Unknown author, 2 years ago
Could not find a method IB_Map(View) in the activity class lt.whitegroup.workplaces.ui.MainActivity for onClick handler on view class android.widget.ImageButton with id 'IB_Map'
java.lang.IllegalStateException: Could not find a method new(View) in the activity class com.android.tools.fd.runtime.BootstrapApplication for onClick handler on view class android.widget.ImageButton with id 'ivImage'
at java.lang.Class.getConstructorOrMethod(Class.java:472)
at java.lang.Class.getMethod(Class.java:857)
at android.view.View$1.onClick(View.java:3808)

Users with the same issue

5 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
82 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.