java.lang.RuntimeException: Unable to start activity ComponentInfo{com.nm.vectordrawableexample/com.nm.vectordrawableexample.VectorActivity}: android.view.InflateException: Binary XML file line #38: Error inflating class android.support.v7.widget.AppCompatTextView

Stack Overflow | blackjack | 2 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

    Vectors throwing Resources$NotFoundException after updating support library from 23.v to 24.v

    Stack Overflow | 6 months ago | Shivansh
    java.lang.RuntimeException: Unable to start activity ComponentInfo{...MainActivity}: android.view.InflateException: Binary XML file line #54: Error inflating class ...BlaView
  2. 0

    0.9.1 with ProGuard: InflateException

    GitHub | 9 months ago | dirkam
    java.lang.RuntimeException: Unable to start activity ComponentInfo{.SettingsActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class ListPreference
  3. 0

    Error inflating class EditText in Android Tablet version 4.4.2

    Stack Overflow | 6 months ago | Kapil Rajput
    java.lang.RuntimeException: Unable to start activity ComponentInfo{}: android.view.InflateException: Binary XML file line #38: Error inflating class EditText android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    app is crashin on 4.1.1

    GitHub | 1 year ago | rameshvoltella
    java.lang.RuntimeException: Unable to start activity android.view.InflateException: Binary XML file line #38: Error inflating class me.himanshusoni.chatmessageview.ChatMessageView
  6. 0

    Error inflating NavigationView class -- android

    Stack Overflow | 10 months ago | Shudy
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.shudy.XXXXX/com.shudy.XXXXX.MainActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.xmlpull.v1.XmlPullParserException

      Binary XML file line #1: invalid drawable tag vector

      at android.graphics.drawable.Drawable.createFromXmlInner()
    2. Android Platform
      TextView.<init>
      1. android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:933)
      2. android.graphics.drawable.Drawable.createFromXml(Drawable.java:877)
      3. android.content.res.Resources.loadDrawable(Resources.java:2092)
      4. android.content.res.TypedArray.getDrawable(TypedArray.java:602)
      5. android.widget.TextView.<init>(TextView.java:806)
      5 frames
    3. Android v7
      AppCompatTextView.<init>
      1. android.support.v7.widget.AppCompatTextView.<init>(AppCompatTextView.java:62)
      2. android.support.v7.widget.AppCompatTextView.<init>(AppCompatTextView.java:58)
      2 frames
    4. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      2 frames
    5. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createView(LayoutInflater.java:594)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
      6. android.view.LayoutInflater.inflate(LayoutInflater.java:353)
      6 frames
    6. Android v7
      AppCompatActivity.setContentView
      1. android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:288)
      2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
      2 frames
    7. com.nm.vectordrawableexample
      VectorActivity.onCreate
      1. com.nm.vectordrawableexample.VectorActivity.onCreate(VectorActivity.java:21)
      1 frame
    8. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5231)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
      5. android.app.ActivityThread.access$800(ActivityThread.java:135)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:136)
      9. android.app.ActivityThread.main(ActivityThread.java:5001)
      9 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    10. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
      2 frames
    11. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame