android.view.InflateException: Binary XML file line #11: Error inflating class android.support.v4.widget. at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:707) 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:276) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:136) at piestudio.zine.MainActivity.onCreate(MainActivity.java:21) at android.app.Activity.performCreate(Activity.java:5133) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)

Stack Overflow | abhishek atre | 9 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 -Didn't find class "android.support.v4.widget

    Stack Overflow | 9 months ago | abhishek atre
    android.view.InflateException: Binary XML file line #11: Error inflating class android.support.v4.widget. at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:707) 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:276) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:136) at piestudio.zine.MainActivity.onCreate(MainActivity.java:21) at android.app.Activity.performCreate(Activity.java:5133) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
  2. 0

    Binary XML file line #2: Error inflating class android.support.design.widget.DrawerLayout

    Stack Overflow | 1 year ago | Germán Boer
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.german.pedorreta/com.example.german.pedorreta.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.design.widget.DrawerLayout 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2198) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2257) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at android.app.ActivityThread.access$800(ActivityThread.java:139) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at android.os.Looper.loop(Looper.java:136) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5086) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:515) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at dalvik.system.NativeStart.main(Native Method) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.design.widget.DrawerLayout 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:707) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:469) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:397) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:353) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:255) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at com.example.german.pedorreta.MainActivity.onCreate(MainActivity.java:36) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at android.app.Activity.performCreate(Activity.java:5248) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1110) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2162) 10-24 22:46:00.838 13428-13428/com.example.german.pedorreta E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2257)
  3. 0

    Starting FragmentActivity from AsynTask

    Stack Overflow | 1 year ago | Bhargav Panth
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.application_name/com.example.application_name.booking}: android.view.InflateException: Binary XML file line #7: Error inflating class android.support.v7.widget.ScrollingTabContainerView.TabView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2198) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2257) at android.app.ActivityThread.access$800(ActivityThread.java:139) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5086) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #7: Error inflating class android.support.v7.widget.ScrollingTabContainerView.TabView at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:707) 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:256) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109) at com.example.webook.webook.booking.onCreate(booking.java:29) at android.app.Activity.performCreate(Activity.java:5248) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1110) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2162) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2257)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.ClassNotFoundException. After update android studio 1.5 to 2.1

    Stack Overflow | 9 months ago | Lz91
    java.lang.RuntimeException: Unable to start activity ComponentInfo{PACKAGE._activities.LoginActivity}: android.view.InflateException: Binary XML file line #53: Error inflating class it.PACKAGE.componentlibrary._View.VQEditorText at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2534) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2614) at android.app.ActivityThread.access$800(ActivityThread.java:178) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1470) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5643) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755) Caused by: android.view.InflateException: Binary XML file line #53: Error inflating class PACKAGE_activities._View.VQEditorText at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:757) at android.view.LayoutInflater.rInflate(LayoutInflater.java:806) at android.view.LayoutInflater.rInflate(LayoutInflater.java:809) at android.view.LayoutInflater.rInflate(LayoutInflater.java:809) at android.view.LayoutInflater.rInflate(LayoutInflater.java:809) at android.view.LayoutInflater.inflate(LayoutInflater.java:504) at android.view.LayoutInflater.inflate(LayoutInflater.java:414) at android.view.LayoutInflater.inflate(LayoutInflater.java:365) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140) at it.PACKAGE._activities.LoginActivity.onCreate(LoginActivity.java:61) at android.app.Activity.performCreate(Activity.java:6100) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1112) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2481) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2614)
  6. 0

    Error inflating class error

    Stack Overflow | 1 year ago | John Smith
    android.view.InflateException: Binary XML file line #2: Error inflating class android.support.design.widget.CoordinatorLayout com.example.smith.frada E/AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:698) com.example.smith.frada E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:466) com.example.smith.frada E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:396) com.example.smith.frada E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:352) com.example.smith.frada E/AndroidRuntime: at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:342) com.example.smith.frada E/AndroidRuntime: at android.app.Activity.setContentView(Activity.java:1929) com.example.smith.frada E/AndroidRuntime: at com.example.smith.frada.MainActivity.onCreate(MainActivity.java:23) com.example.smith.frada E/AndroidRuntime: at android.app.Activity.performCreate(Activity.java:5165) com.example.smith.frada E/AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1103) com.example.smith.frada E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2419) com.example.smith.frada E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2520)

    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.ClassNotFoundException

      Didn't find class "android.support.v4.widget." on path: DexPathList[[zip file "/data/app/piestudio.zine-1.apk"],nativeLibraryDirectories=[/data/app-lib/piestudio.zine-1, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:501) at java.lang.ClassLoader.loadClass(ClassLoader.java:461) at android.view.LayoutInflater.createView(LayoutInflater.java:559) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696) at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)

      at android.view.LayoutInflater.inflate()
    2. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
      2. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
      3. android.view.LayoutInflater.inflate(LayoutInflater.java:353)
      3 frames
    3. Android v7
      AppCompatActivity.setContentView
      1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:276)
      2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:136)
      2 frames
    4. piestudio.zine
      MainActivity.onCreate
      1. piestudio.zine.MainActivity.onCreate(MainActivity.java:21)
      1 frame
    5. 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
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:525)
      2 frames
    7. 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
    8. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame