java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.shakeel.appidea2/com.example.shakeel.appidea2.General}: android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.support.design.widget.CollapsingToolbarLayout

Stack Overflow | KeenLearner | 2 months ago
  1. 0

    Collapsing Toolbar Layout error

    Stack Overflow | 2 months ago | KeenLearner
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.shakeel.appidea2/com.example.shakeel.appidea2.General}: android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.support.design.widget.CollapsingToolbarLayout
  2. 0

    Error inflating class CollapsingToolbarLayout

    Stack Overflow | 6 months ago | Shumin
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.test.android/com.test.android.ui.activity.RandomActivity}: android.view.InflateException: Binary XML file line #22: Error inflating class android.support.design.widget.CollapsingToolbarLayout
  3. 0

    Android CollapsingToolbarLayout error inflating

    Stack Overflow | 5 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem with Collapsing toolbar

    GitHub | 3 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
  6. 0

    Error inflating class CollapsingToolbarLayout After Update Android Studio

    Stack Overflow | 4 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

    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.example.shakeel.appidea2/files/instant-run/dex/slice-com.android.support-support-v4-24.1.1_f35b54a53dd3b7a68f49018c2318d1c9a206248b-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.inflate(LayoutInflater.java:515)
      9. android.view.LayoutInflater.inflate(LayoutInflater.java:423)
      10. android.view.LayoutInflater.inflate(LayoutInflater.java:374)
      10 frames
    5. Android v7
      AppCompatActivity.setContentView
      1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:267)
      2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:129)
      2 frames
    6. com.example.shakeel
      General.onCreate
      1. com.example.shakeel.appidea2.General.onCreate(General.java:30)
      1 frame
    7. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:6272)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2387)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2494)
      5. android.app.ActivityThread.access$900(ActivityThread.java:157)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1356)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:148)
      9. android.app.ActivityThread.main(ActivityThread.java:5551)
      9 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame