java.lang.RuntimeException: Unable to start activity ComponentInfo{net.wequick.example.small/net.wequick.example.small.app.main.MainActivity}: android.view.InflateException: Binary XML file line #26: Error inflating class android.support.design.widget.TabLayout

GitHub | linmp4 | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Caused by: java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x1

    GitHub | 8 months ago | fengnudexiaoniao
    java.lang.RuntimeException: Unable to start activity ComponentInfo{net.wequick.example.small/net.wequick.example.small.app.main.MainActivity}: android.view.InflateException: Binary XML file line #13: Binary XML file line #13: Error inflating class android.support.design.widget.AppBarLayout
  2. 0

    GitHub comment 229#242011019

    GitHub | 8 months ago | fengnudexiaoniao
    java.lang.RuntimeException: Unable to start activity ComponentInfo{net.wequick.example.small/net.wequick.example.small.app.main.MainActivity}: android.view.InflateException: Binary XML file line #13: Binary XML file line #13: Error inflating class android.support.design.widget.AppBarLayout
  3. 0

    Error inflating NavigationView class -- android

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

    Automated exception search integrated into your IDE

  5. 0

    All comments on Material Design Navigation Drawer Part 3: Android Tutorials [HD 1080p] - YouTube

    youtube.com | 1 year ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{carlosromero.example.com.floatbutton/carlosromero.example.com.floatbutton.MainActivity}: android.view.InflateException: Binary XML file line #28: Error inflating class fragment
  6. 0

    Google map v2 application Show error

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

    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

      Resource "net.wequick.example.small:id/useLogo" (7f0c0014) is not a Drawable (color or path): TypedValue{t=0x12/d=0x0 a=6 r=0x7f0c0014}

      at android.content.res.Resources.loadDrawableForCookie()
    2. Android Platform
      HorizontalScrollView.<init>
      1. android.content.res.Resources.loadDrawableForCookie(Resources.java:2687)
      2. android.content.res.Resources.loadDrawable(Resources.java:2607)
      3. android.content.res.TypedArray.getDrawable(TypedArray.java:751)
      4. android.view.View.<init>(View.java:3777)
      5. android.view.ViewGroup.<init>(ViewGroup.java:518)
      6. android.widget.FrameLayout.<init>(FrameLayout.java:133)
      7. android.widget.HorizontalScrollView.<init>(HorizontalScrollView.java:155)
      8. android.widget.HorizontalScrollView.<init>(HorizontalScrollView.java:150)
      8 frames
    3. android.support.design
      TabLayout.<init>
      1. android.support.design.widget.TabLayout.<init>(TabLayout.java:265)
      2. android.support.design.widget.TabLayout.<init>(TabLayout.java:261)
      2 frames
    4. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.newInstance(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:288)
      2 frames
    5. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createView(LayoutInflater.java:611)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:747)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:810)
      4. android.view.LayoutInflater.rInflate(LayoutInflater.java:813)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:508)
      6. android.view.LayoutInflater.inflate(LayoutInflater.java:418)
      7. android.view.LayoutInflater.inflate(LayoutInflater.java:365)
      7 frames
    6. Android v7
      AppCompatActivity.setContentView
      1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:276)
      2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
      2 frames
    7. net.wequick.example
      MainActivity.onCreate
      1. net.wequick.example.small.app.main.MainActivity.onCreate(MainActivity.java:71)
      1 frame
    8. Android Platform
      Instrumentation.callActivityOnCreate
      1. android.app.Activity.performCreate(Activity.java:5975)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111)
      2 frames
    9. net.wequick.small
      ApkBundleLauncher$InstrumentationWrapper.callActivityOnCreate
      1. net.wequick.small.ApkBundleLauncher$InstrumentationWrapper.callActivityOnCreate(ApkBundleLauncher.java:168)
      1 frame
    10. Android Platform
      ActivityThread.main
      1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2413)
      2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2522)
      3. android.app.ActivityThread.access$800(ActivityThread.java:169)
      4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
      5. android.os.Handler.dispatchMessage(Handler.java:111)
      6. android.os.Looper.loop(Looper.java:194)
      7. android.app.ActivityThread.main(ActivityThread.java:5546)
      7 frames
    11. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    12. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:964)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:759)
      2 frames