android.view.InflateException: Binary XML file line #13: Binary XML file line #13: Error inflating class android.support.design.widget.CollapsingToolbarLayout

Stack Overflow | Oleg Ryabtsev | 11 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. 3

    Android CollapsingToolbarLayout error inflating

    Stack Overflow | 11 months ago | Oleg Ryabtsev
    android.view.InflateException: Binary XML file line #13: Binary XML file line #13: Error inflating class android.support.design.widget.CollapsingToolbarLayout
  2. 0

    Problem with Collapsing toolbar

    GitHub | 9 months ago | AmiNadim
    java.lang.RuntimeException: Unable to start activity ComponentInfo{dim.intellivase/dim.intellivase.BaseContainer}: android.view.InflateException: Binary XML file line #18: Error inflating class android.support.design.widget.CollapsingToolbarLayout
  3. 0

    Error inflating class CollapsingToolbarLayout After Update Android Studio

    Stack Overflow | 9 months ago | user2577020
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ciputraresidence.ciapp.ourproject/com.ciputraresidence.ciapp.ourproject.HomeActivity}: android.view.InflateException: Binary XML file line #33: Error inflating class android.support.design.widget.CollapsingToolbarLayout
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Sporadic Crash in Chatrooms

    GitHub | 7 months ago | InI4
    android.view.InflateException: Binary XML file line #17: Error inflating class android.support.design.widget.CollapsingToolbarLayout
  6. 0

    Error inflating class android.support.design.widget.CollapsingToolbarLayout

    GitHub | 7 months ago | arjunkn
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.solutions.miyamiya/com.solutions.miyamiya.CustomerMainHomeActivity}: android.view.InflateException: Binary XML file line #11: Binary XML file line #21: Error inflating class android.support.design.widget.CollapsingToolbarLayout
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. java.lang.NoSuchMethodError

    No static method setLayoutDirection(Landroid/graphics/drawable/Drawable;I)V in class Landroid/support/v4/graphics/drawable/DrawableCompat; or its super classes (declaration of 'android.support.v4.graphics.drawable.DrawableCompat' appears in /data/app/com.rcd.perfecto-1/base.apk)

    at android.support.design.widget.CollapsingToolbarLayout.setStatusBarScrim()
  2. android.support.design
    CollapsingToolbarLayout.<init>
    1. android.support.design.widget.CollapsingToolbarLayout.setStatusBarScrim(CollapsingToolbarLayout.java:663)
    2. android.support.design.widget.CollapsingToolbarLayout.<init>(CollapsingToolbarLayout.java:197)
    3. android.support.design.widget.CollapsingToolbarLayout.<init>(CollapsingToolbarLayout.java:132)
    3 frames
  3. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.newInstance(Native Method)
    1 frame
  4. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createView(LayoutInflater.java:619)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:764)
    3. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
    5. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
    6. android.view.LayoutInflater.rInflate(LayoutInflater.java:838)
    7. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
    8. android.view.LayoutInflater.inflate(LayoutInflater.java:515)
    9. android.view.LayoutInflater.inflate(LayoutInflater.java:423)
    9 frames
  5. com.rcd.perfecto
    AboutAppFragment.onCreateView
    1. com.rcd.perfecto.ui.fragments.AboutAppFragment.onCreateView(AboutAppFragment.java:36)
    1 frame
  6. Android Support v4
    FragmentManagerImpl$1.run
    1. android.support.v4.app.Fragment.performCreateView(Fragment.java:2074)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
    3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286)
    4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:758)
    5. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1671)
    6. android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:532)
    6 frames
  7. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:739)
    2. android.os.Handler.dispatchMessage(Handler.java:95)
    3. android.os.Looper.loop(Looper.java:148)
    4. android.app.ActivityThread.main(ActivityThread.java:5417)
    4 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames