android.view.InflateException: Binary XML file line #24: Error inflating class ImageView


Solutions on the web2196

Solution icon of github
via GitHub by ozv101
, 4 months ago
Binary XML file line #24: Error inflating class ImageView

Solution icon of stackoverflow
via Stack Overflow by Deepak
, 10 months ago
Binary XML file line #24: Error inflating class ImageView

Solution icon of github
via GitHub by chaitanya-exp
, 4 months ago
Binary XML file line #7: Error inflating class ImageView

Solution icon of github
Binary XML file line #57: Error inflating class ImageView

Solution icon of github
Binary XML file line #27: Error inflating class ImageView

Solution icon of stackoverflow
Binary XML file line #7: Error inflating class imageview

Solution icon of stackoverflow
via Stack Overflow by Average Joe
, 1 year ago
Binary XML file line #21: Error inflating class Imageview

Solution icon of stackoverflow
Binary XML file line #8: Error inflating class imageView

Solution icon of stackoverflow
Binary XML file line #11: Error inflating class ImageView

Solution icon of stackoverflow
Binary XML file line #17: Error inflating class ImageView

Stack trace

android.view.InflateException: Binary XML file line #24: Error inflating class ImageView
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
	at android.view.LayoutInflater.parseInclude(LayoutInflater.java:839)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:745)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
	at android.view.View.inflate(View.java:17465)
	at com.arlib.floatingsearchview.FloatingSearchView.init(FloatingSearchView.java:341)
	at com.arlib.floatingsearchview.FloatingSearchView.<init>(FloatingSearchView.java:333)
	at java.lang.reflect.Constructor.constructNative(Constructor.java)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at android.view.LayoutInflater.createView(LayoutInflater.java:594)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
	at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:292)
	at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
	at com.myapp.view.MainActivity.onCreate(MainActivity.java:136)
	at android.app.Activity.performCreate(Activity.java:5231)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
	at android.app.ActivityThread.access$800(ActivityThread.java:135)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:136)
	at android.app.ActivityThread.main(ActivityThread.java:5017)
	at java.lang.reflect.Method.invokeNative(Method.java)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
	at dalvik.system.NativeStart.main(NativeStart.java)

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

10 times, 11 months ago
2 times, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 2 months ago
2 times, 9 months ago
26 more bugmates