java.lang.RuntimeException: Unable to start activity ComponentInfo{a.batteryalarm/a.batteryalarm.MainActivity}: android.view.InflateException: Binary XML file line #65: 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 I.Ardel
, 10 months ago
Unable to start activity ComponentInfo{a.batteryalarm/a.batteryalarm.MainActivity}: android.view.InflateException: Binary XML file line #65: 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 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 GitHub by Dalamo
, 2 years ago
Unable to start activity ComponentInfo{me.ccrama.redditslide/me.ccrama.redditslide.Activities.SubredditOverview}: android.view.InflateException: Binary XML file line #43: Error inflating class ImageView
via Stack Overflow by Josh Glanville-Smith
, 2 years ago
Unable to start activity ComponentInfo{com.regoreminder/com.regoreminder.RegoReminderActivity}: android.view.InflateException: Binary XML file line #7: Error inflating class imageview
via Stack Overflow by Brian Smith
, 1 year ago
Unable to start activity ComponentInfo{com.example.brian.barter2/com.example.brian.barter2.furniture}: android.view.InflateException: Binary XML file line #31: Error inflating class ImageView
org.xmlpull.v1.XmlPullParserException: Binary XML file line #1: invalid drawable tag vector
at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:891)
at android.graphics.drawable.Drawable.createFromXml(Drawable.java:828)
at android.content.res.Resources.loadDrawable(Resources.java:1933)
at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
at android.view.View.(View.java:3345)
at android.widget.ImageView.(ImageView.java:142)
at android.support.v7.widget.AppCompatImageView.(AppCompatImageView.java:60)
at android.support.v7.widget.AppCompatImageView.(AppCompatImageView.java:56)
at android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:106)
at android.support.v7.app.AppCompatDelegateImplV9.createView(AppCompatDelegateImplV9.java:1021)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:675)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
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.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:288)
at a.batteryalarm.MainActivity.onCreate(MainActivity.java:46)
at android.app.Activity.performCreate(Activity.java:5082)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2122)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2192)
at android.app.ActivityThread.access$600(ActivityThread.java:147)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1287)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5085)
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:789)

Users with the same issue

5 times, 5 months ago
2 times, 9 months ago
8 times, 9 months ago
5 times, 10 months ago
2 times, 1 year ago

Write tip

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