java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.fragmentmodularui/com.example.fragmentmodularui.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment

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

Samebug tips

,
via github.io by Unknown author

You need to setup a GlideModule before use Glide.

Solutions on the web

via Stack Overflow by Pranesh Sahu
, 1 year ago
Unable to start activity ComponentInfo{com.example.fragmentmodularui/com.example.fragmentmodularui.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
via Stack Overflow by androidevil
, 2 years ago
Unable to start activity ComponentInfo{com.example.map/com.example.map.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
via Stack Overflow by vimal kumar R
, 2 years ago
Unable to start activity ComponentInfo{com.sentientit.theiWedplanner/com.sentientit.theiWedplanner.Frontpage}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
via Stack Overflow by user2734182
, 2 years ago
Unable to start activity ComponentInfo{com.raj.fragment/com.raj.fragment.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
via Stack Overflow by user3550410
, 2 years ago
Unable to start activity ComponentInfo{com.softcrypt/com.softcrypt.SoftCryptMapActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
via Stack Overflow by Sivan
, 1 year ago
Unable to start activity ComponentInfo{com.wit/com.wit.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.fragmentmodularui/com.example.fragmentmodularui.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at android.app.Fragment.instantiate(Fragment.java:583)
at android.app.Fragment.instantiate(Fragment.java:561)
at android.app.Activity.onCreateView(Activity.java:4778)
at android.support.v4.app.BaseFragmentActivityHoneycomb.onCreateView(BaseFragmentActivityHoneycomb.java:34)
at com.example.fragmentmodularui.MainActivity.onCreateView(MainActivity.java:1)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:689)
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 com.example.fragmentmodularui.MainActivity.onCreate(MainActivity.java:17)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
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)

Users with the same issue

3 times, 1 year ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 4 months ago
165 more bugmates

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