java.lang.RuntimeException: Unable to start activityComponentInfo{com.abc.efg.plcapp/com.abc.efg.ghi.MainActivity}: android.view.InflateException: Binary XML file line #37: Error inflating class ImageView

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

Solutions on the web

via Stack Overflow by Rakesh Niranajan
, 10 months ago
Unable to start activityComponentInfo{com.abc.efg.plcapp/com.abc.efg.ghi.MainActivity}: android.view.InflateException: Binary XML file line #37: Error inflating class ImageView
via Stack Overflow by Rockyfish
, 1 year ago
Unable to start activity ComponentInfo{}: android.view.InflateException: Binary XML file line #74: Error inflating class ImageView
via Stack Overflow by Baradwaj Aryasomayajula
, 2 years ago
Unable to start activityComponentInfo{com.javatechig.viewflipper/com.javatechig.viewflipper.ViewFlipperSampleActivity}: android.view.InflateException: Binary XML file line #34: Error inflating class <unknown>
via Stack Overflow by WindRider
, 1 year ago
Unable to start activity ComponentInfo{com.buildware.geoworld/com.buildware.geocoord.activities.DashBoardActivity}: android.view.InflateException: Binary XML file line #212: Error inflating class ImageView
via Stack Overflow by Average Joe
, 2 years ago
Unable to start activity ComponentInfo{net.androidbootcamp.quickhealthysnackideasapp/net.androidbootcamp.quickhealthysnackideasapp.MainActivity}: android.view.InflateException: Binary XML file line #21: Error inflating class Imageview
via Stack Overflow by Payal Garg
, 1 year ago
Unable to start activity ComponentInfo{dextrosoft.com.schoolmobileapp/dextrosoft.com.schoolmobileapp.MainActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class ImageView
java.lang.RuntimeException: Unable to start activityComponentInfo{com.abc.efg.plcapp/com.abc.efg.ghi.MainActivity}: android.view.InflateException: Binary XML file line #37: Error inflating class ImageView
at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:877)
at android.graphics.drawable.Drawable.createFromXml(Drawable.java:818)
at android.content.res.Resources.loadDrawable(Resources.java:1915)
at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
at android.widget.ImageView.(ImageView.java:120)
at android.support.v7.widget.AppCompatImageView.(AppCompatImageView.java:57)
at android.support.v7.widget.AppCompatImageView.(AppCompatImageView.java:53)
at android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:106)
at android.support.v7.app.AppCompatDelegateImplV7.createView(AppCompatDelegateImplV7.java:963)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:675)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
at android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
at android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:267)
at com.abc.efg.ghi.MainActivity.onCreate(MainActivity.java:40)
at android.app.Activity.performCreate(Activity.java:5008)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
at android.app.ActivityThread.access$600(ActivityThread.java:130)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
at android.os.Handler.dispatchMessage(Handler.java:99)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 3 months ago
5 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
2 times, 8 months ago
8 times, 9 months ago
20 more bugmates

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