java.lang.RuntimeException: Unable to start activity ComponentInfo{com.vehicollate/com.vehicollate.HomeScreen}: android.view.InflateException: Binary XML file line #11: Binary XML file line #20: Error inflating class android.support.design.widget.CollapsingToolbarLayout

Stack Overflow | Paras Dhawan | 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

    Error inflating NavigationView class -- android

    Stack Overflow | 9 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
  2. 0

    Android Studio 2.1 using Navigation Drawer Activity error

    Stack Overflow | 7 months ago | nicko_yuan
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.dd.ee_android_appliction/com.example.dd.ee_android_appliction.Homescreen}: android.view.InflateException: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2338) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2388) at android.app.ActivityThread.access$900(ActivityThread.java:148) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1319) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5457) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:854) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:670) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView at android.view.LayoutInflater.createView(LayoutInflater.java:620) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696) at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) at android.view.LayoutInflater.inflate(LayoutInflater.java:492) at android.view.LayoutInflater.inflate(LayoutInflater.java:397) at android.view.LayoutInflater.inflate(LayoutInflater.java:353) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:249) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:106) at com.example.dd.ee_android_appliction.Homescreen.onCreate(Homescreen.java:22) at android.app.Activity.performCreate(Activity.java:5234) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2302) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2388)
  3. 0

    (Activity+preferencefragment) Error inflating class com.android.internal.widget.ActionBarContainer

    Stack Overflow | 1 year ago | Peiting Shih
    java.lang.RuntimeException: Unable to start activity ComponentInfo{package name/package name.SettingsActivity}: android.view.InflateException: Binary XML file line #31: Error inflating class com.android.internal.widget.ActionBarContainer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    android.content.res.Resources$NotFoundException: File res/drawable/title_bar.xml from drawable resource ID #0x1080095

    GitHub | 7 months ago | luiges90
    java.lang.RuntimeException: Unable to resume activity {com.example/com.example.LaunchActivity}: android.view.InflateException: Binary XML file line #32: Binary XML file line #32: Error inflating class <unknown>
  6. 0

    Android Logcat message:

    Stack Overflow | 3 years ago | simple coder
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.agora.TractFragment/com.agora.TractFragment.MainActivity}: android.view.InflateException: Binary XML file line #7: Error inflating class fragment

  1. Indri Yunita 10 times, last 3 months ago
5 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. 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/data/com.vehicollate/files/instant-run/dex/slice-com.android.support-support-v4-24.0.0_6014d4d6478dd0a9be96de3350bdf96cfabaaafa-classes.dex)

    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.parseInclude(LayoutInflater.java:971)
    9. android.view.LayoutInflater.rInflate(LayoutInflater.java:831)
    10. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
    11. android.view.LayoutInflater.inflate(LayoutInflater.java:515)
    12. android.view.LayoutInflater.inflate(LayoutInflater.java:423)
    13. android.view.LayoutInflater.inflate(LayoutInflater.java:374)
    13 frames
  5. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
    2 frames
  6. com.vehicollate
    HomeScreen.onCreate
    1. com.vehicollate.HomeScreen.onCreate(HomeScreen.java:61)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:6304)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2409)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2539)
    5. android.app.ActivityThread.access$900(ActivityThread.java:159)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1384)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:152)
    9. android.app.ActivityThread.main(ActivityThread.java:5507)
    9 frames