java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jayway.rotationcrashworkaround/com.jayway.rotationcrashworkaround.MainActivity}: android.view.InflateException: Binary XML file line #14: 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

Solutions on the web

via jayway.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.jayway.rotationcrashworkaround/com.jayway.rotationcrashworkaround.MainActivity}: android.view.InflateException: Binary XML file line #14: Error inflating class fragment
via jayway.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.jayway.rotationcrashworkaround/com.jayway.rotationcrashworkaround.MainActivity}: android.view.InflateException: Binary XML file line #14: Error inflating class fragment
via Stack Overflow by Rob
, 2 years ago
Unable to start activity ComponentInfo{com.rcd.mypr/com.rcd.mypr.Workouts.WorkoutsActivity}: android.view.InflateException: Binary XML file line #7: Error inflating class fragment
via Stack Overflow by user3363177
, 1 year ago
Unable to start activity ComponentInfo{com.artifex.mupdf/ca.nait.myartego.HomeActivity}: android.view.InflateException: Binary XML file line #34: Error inflating class fragment
via Stack Overflow by Maihan Nijat
, 1 year ago
Unable to start activity ComponentInfo{com.revittechnology.zapdos/com.revittechnology.zapdos.MainActivity}: android.view.InflateException: Binary XML file line #24: Error inflating class fragment
via Stack Overflow by user2366975
, 2 years ago
Unable to start activity ComponentInfo{com.example.thomas.noteapp/com.example.thomas.noteapp.main}: android.view.InflateException: Binary XML file line #33: Error inflating class fragment
java.lang.IllegalStateException: Fragment com.jayway.rotationcrashworkaround.MainLandscapeFragment did not create a view.
at android.support.v4.app.FragmentManagerImpl.onCreateView(FragmentManager.java:2189)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
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.ActionBarActivityDelegateBase.setContentView(ActionBarActivityDelegateBase.java:228)
at com.jayway.rotationcrashworkaround.MainActivity.onCreate(MainActivity.java:20)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2201)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2286)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3828)
at android.app.ActivityThread.access$900(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1252)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:212)
at android.app.ActivityThread.main(ActivityThread.java:5135)
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:877)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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