android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>

GitHub | QuantumBadger | 8 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

    GitHub comment 309#228591797

    GitHub | 8 months ago | QuantumBadger
    android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
  2. 0

    ShareActionProvider crash with Theme.Sherlock.Light.DarkActionBar

    GitHub | 4 years ago | rciovati
    android.view.InflateException: Binary XML file line #17: Error inflating class <unknown>
  3. 0

    ShareActionProvider crashes with Light Dark Actionbar

    GitHub | 5 years ago | defer
    android.view.InflateException: Binary XML file line #17: Error inflating class <unknown>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error !

    GitHub | 2 years ago | NilakArgento
    java.lang.RuntimeException: Unable to start activity ComponentInfo{sevendays.ethnicmedia.us.seven/sevendays.ethnicmedia.us.seven.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
  6. 0

    Application breaks when Google Play Services SDK is introduced

    Stack Overflow | 2 years ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.batsoft.pepeeizle/com.batsoft.MainActivity}: android.view.InflateException: Binary XML file line #17: Error inflating class <unknown>
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. android.content.res.Resources$NotFoundException

    File res/drawable/link_border.xml from drawable resource ID #0x7f020082

    at android.content.res.Resources.loadDrawable()
  2. Android Platform
    LinearLayout.<init>
    1. android.content.res.Resources.loadDrawable(Resources.java:1958)
    2. android.content.res.TypedArray.getDrawable(TypedArray.java:601)
    3. android.view.View.<init>(View.java:3330)
    4. android.view.ViewGroup.<init>(ViewGroup.java:431)
    5. android.widget.LinearLayout.<init>(LinearLayout.java:176)
    6. android.widget.LinearLayout.<init>(LinearLayout.java:172)
    6 frames
  3. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
    2 frames
  4. Android Platform
    LayoutInflater.createView
    1. android.view.LayoutInflater.createView(LayoutInflater.java:587)
    1 frame
  5. Android
    PhoneLayoutInflater.onCreateView
    1. com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
    1 frame
  6. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
    3. android.view.LayoutInflater.inflate(LayoutInflater.java:466)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
    4 frames
  7. org.quantumbadger.redreader
    GroupedRecyclerViewAdapter.onBindViewHolder
    1. org.quantumbadger.redreader.reddit.prepared.markdown.MarkdownParagraphGroup.buildView(MarkdownParagraphGroup.java:187)
    2. org.quantumbadger.redreader.reddit.prepared.RedditRenderableComment.getBody(RedditRenderableComment.java:197)
    3. org.quantumbadger.redreader.views.RedditCommentView.reset(RedditCommentView.java:195)
    4. org.quantumbadger.redreader.reddit.RedditCommentListItem.onBindViewHolder(RedditCommentListItem.java:200)
    5. org.quantumbadger.redreader.adapters.GroupedRecyclerViewAdapter.onBindViewHolder(GroupedRecyclerViewAdapter.java:113)
    5 frames
  8. Android v7
    RecyclerView$1.run
    1. android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:5471)
    2. android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:5504)
    3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4741)
    4. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4617)
    5. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1994)
    6. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1390)
    7. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1353)
    8. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:574)
    9. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3028)
    10. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2906)
    11. android.support.v7.widget.RecyclerView.consumePendingUpdateOperations(RecyclerView.java:1482)
    12. android.support.v7.widget.RecyclerView.access$400(RecyclerView.java:147)
    13. android.support.v7.widget.RecyclerView$1.run(RecyclerView.java:294)
    13 frames
  9. Android Platform
    ActivityThread.main
    1. android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
    2. android.view.Choreographer.doCallbacks(Choreographer.java:562)
    3. android.view.Choreographer.doFrame(Choreographer.java:531)
    4. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
    5. android.os.Handler.handleCallback(Handler.java:725)
    6. android.os.Handler.dispatchMessage(Handler.java:92)
    7. android.os.Looper.loop(Looper.java:137)
    8. android.app.ActivityThread.main(ActivityThread.java:5041)
    8 frames
  10. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  11. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
    2 frames
  12. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame