Binary XML file line #2: Error inflating class TextView

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5293

  • via Stack Overflow by Abhineet Nigam
    , 1 year ago
    Binary XML file line #2: Error inflating class textview
  • Binary XML file line #2: Error inflating class TextView
  • Binary XML file line #2: Error inflating class textView
  • Stack trace

    • android.view.InflateException: Binary XML file line #2: Error inflating class TextView at android.view.LayoutInflater.createViewFromTag( at android.view.LayoutInflater.inflate( at android.view.LayoutInflater.inflate( at org.quantumbadger.redreader.fragments.PostListingFragment$1.handleMessage( at android.os.Handler.dispatchMessage( at android.os.Looper.loop( at at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke( at$ at at dalvik.system.NativeStart.main(Native Method) Caused by: android.content.res.Resources$NotFoundException: File res/drawable/ic_time_light.xml from drawable resource ID #0x7f02007e at android.content.res.Resources.loadDrawable( at android.content.res.TypedArray.getDrawable( at android.widget.TextView.<init>( at<init>( at<init>( at at at at$FactoryWrapperHC.onCreateView( at android.view.LayoutInflater.createViewFromTag( ... 11 more Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #1: invalid drawable tag vector at at at android.content.res.Resources.loadDrawable( ... 20 more

    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

    Unknown user
    Once, 1 day ago
    5 times, 2 weeks ago
    Unknown user
    Once, 1 month ago
    2 times, 4 months ago
    8 times, 5 months ago
    20 more bugmates