java.lang.RuntimeException: Unable to start activity ComponentInfo{io.github.meness.easyintro.app/io.github.meness.easyintro.app.MyEasyIntro}: android.view.InflateException: Binary XML file line #24: Error inflating class io.github.meness.easyintro.views.LeftToggleIndicator

Stack Overflow | sathish gadde | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Android app layout inflating error in below SDK 22

    Stack Overflow | 4 months ago | sathish gadde
    java.lang.RuntimeException: Unable to start activity ComponentInfo{io.github.meness.easyintro.app/io.github.meness.easyintro.app.MyEasyIntro}: android.view.InflateException: Binary XML file line #24: Error inflating class io.github.meness.easyintro.views.LeftToggleIndicator
  2. 0

    Example app and my own app don't work on lower SDK's

    GitHub | 6 months ago | halileohalilei
    java.lang.RuntimeException: Unable to start activity ComponentInfo{io.github.meness.easyintro.app/io.github.meness.easyintro.app.MyEasyIntro}: android.view.InflateException: Binary XML file line #24: Error inflating class io.github.meness.easyintro.views.LeftToggleIndicator

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Can't convert to color: type=0x2

      at android.content.res.TypedArray.getColor()
    2. Android Platform
      Drawable.createFromXmlInner
      1. android.content.res.TypedArray.getColor(TypedArray.java:327)
      2. android.graphics.drawable.GradientDrawable.inflate(GradientDrawable.java:970)
      3. android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:937)
      3 frames