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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by abhishek atre
, 1 year ago
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
via Stack Overflow by Naufal Prakoso
, 1 year ago
Binary XML file line #34: Error inflating class Button 04-05 23:06:33.146 1501-1501/com.prakosoft.physhics.calculator E/AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713) 04-05 23:06:33.146 1501-1501
via Stack Overflow by ahmed30
, 1 year ago
Binary XML file line #12: Error inflating class android.support.v7.widget.Toolbar 03-19 10:32:46.289 1059-1059/com.example.umair.myapplication E/AndroidRuntime: at android.view.LayoutInflater.createView(LayoutInflater.java:620) 03-19 10:32
via openclassrooms.com by Unknown author, 1 year ago
Binary XML file line #12: Error inflating class android.support.v7.widget.Toolbar 03-03 15:03:54.442 24052-24052/fgrignon.myapplication E/AndroidRuntime: at android.view.LayoutInflater.createView(LayoutInflater.java:613) 03-03 15:03:54.442 24052
via Stack Overflow by cheeleong
, 1 year ago
Binary XML file line #1: Error inflating class fragment 01-18 16:12:50.807 16173-16173/com.cheeleong1993.sunshine.app E/AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704) 01-18 16:12:50.807 16173-16173
via Stack Overflow by akshay taneja
, 2 years ago
Binary XML file line #12: Error inflating class fragment 10-12 12:49:16.826 21503-21503/com.example.om.fragment E/AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704) 10-12 12:49:16.826 21503-21503
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)
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 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)
at android.app.ActivityThread.access$600(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
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:737)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.