java.lang.RuntimeException: Unable to start activity ComponentInfo{a.a/a.a.a.a.MyActivity}: android.view.InflateException: Binary XML file line #7: Error inflating class android.support.v4.widget.DrawerLayout

GitHub | kkocel | 3 years 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

    No class def found for scroller compat.

    GitHub | 3 years ago | kkocel
    java.lang.RuntimeException: Unable to start activity ComponentInfo{a.a/a.a.a.a.MyActivity}: android.view.InflateException: Binary XML file line #7: Error inflating class android.support.v4.widget.DrawerLayout
  2. 0

    android support v4 library not supported in android 4.0 but working in 5.0?

    Stack Overflow | 1 year ago | Aparana Mahajan
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tatahousing/com.tatahousing.MainActivity}: android.view.InflateException: Binary XML file line #9: Error inflating class android.support.v4.widget.DrawerLayout
  3. 0

    AndroidAnnotations with dagger compile error

    GitHub | 4 years ago | sinojelly
    java.lang.RuntimeException: Unable to create application com.example.test.app.TestApplication: java.lang.TypeNotPresentException: Type class java.lang.Object$$ModuleAdapter not present
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Class.forName android NoClassDefFoundError -> ClassNotFoundException

    Stack Overflow | 4 years ago | Diljeet
    java.lang.ClassNotFoundException: android.media.RemoteControlClient.MetadataEditor
  6. 0

    java.lang.NoClassDefFoundError: [generic] at dalvik.system.NativeStart.main(Native Method)

    Stack Overflow | 3 years ago | darkchaos
    java.lang.NoClassDefFoundError: [generic]

    1 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.NoClassDefFoundError

      android.support.v4.widget.ScrollerCompatGingerbread

      at android.support.v4.widget.ScrollerCompat$ScrollerCompatImplGingerbread.createScroller()
    2. Android Support v4
      DrawerLayout.<init>
      1. android.support.v4.widget.ScrollerCompat$ScrollerCompatImplGingerbread.createScroller(ScrollerCompat.java:146)
      2. android.support.v4.widget.ScrollerCompat.<init>(ScrollerCompat.java:259)
      3. android.support.v4.widget.ScrollerCompat.create(ScrollerCompat.java:255)
      4. android.support.v4.widget.ViewDragHelper.<init>(ViewDragHelper.java:391)
      5. android.support.v4.widget.ViewDragHelper.create(ViewDragHelper.java:347)
      6. android.support.v4.widget.ViewDragHelper.create(ViewDragHelper.java:360)
      7. android.support.v4.widget.DrawerLayout.<init>(DrawerLayout.java:234)
      8. android.support.v4.widget.DrawerLayout.<init>(DrawerLayout.java:221)
      8 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. HoloEverywhere
      LayoutInflater.inflate
      1. org.holoeverywhere.LayoutInflater._createView(LayoutInflater.java:238)
      2. org.holoeverywhere.LayoutInflater.onCreateView(LayoutInflater.java:466)
      3. org.holoeverywhere.LayoutInflater.createViewFromTag(LayoutInflater.java:316)
      4. org.holoeverywhere.LayoutInflater.rInflate(LayoutInflater.java:604)
      5. org.holoeverywhere.LayoutInflater.inflate(LayoutInflater.java:407)
      6. org.holoeverywhere.LayoutInflater.inflate(LayoutInflater.java:372)
      6 frames
    5. Android Support v4
      _HoloActivity.setContentView
      1. android.support.v4.app._HoloActivity.requestDecorView(_HoloActivity.java:381)
      2. android.support.v4.app._HoloActivity.setContentView(_HoloActivity.java:414)
      2 frames
    6. AndroMDA Web Service Client
      MyActivity.onCreate
      1. a.a.a.a.MyActivity.onCreate(SearchActivity.java:51)
      1 frame
    7. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5133)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
      5. android.app.ActivityThread.access$600(ActivityThread.java:141)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:137)
      9. android.app.ActivityThread.main(ActivityThread.java:5103)
      9 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:525)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
      2 frames
    10. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame