java.lang.RuntimeException: Unable to start activity ComponentInfo{domainName.com.bubbletranslate/domainName.com.bubbletranslate.activity.PreferenceActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class java.lang.reflect.Constructor

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by redrom
, 1 year ago
Unable to start activity ComponentInfo{domainName.com.bubbletranslate/domainName.com.bubbletranslate.activity.PreferenceActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class java.lang.reflect.Constructor
via GitHub by cyroxx
, 2 years ago
Unable to start activity ComponentInfo{de.uni_potsdam.hpi.openmensa/de.uni_potsdam.hpi.openmensa.api.preferences.SettingsActivity}: android.view.InflateException: Binary XML file line #6: Error inflating class java.lang.reflect.Constructor
via Stack Overflow by jwir3
, 2 years ago
Unable to start activity ComponentInfo{com.example.app/com.example.app.ui.shift.ShiftDetailActivity}: android.view.InflateException: Binary XML file line #57: Error inflating class fragment
via Stack Overflow by Theo
, 1 year ago
Unable to start activity ComponentInfo{testing.theo.materialdesigntest/testing.theo.materialdesigntest.MainActivity}: android.view.InflateException: Binary XML file line #32: Error inflating class fragment
via Stack Overflow by Stuti
, 2 years ago
Unable to start activity ComponentInfo{menu.intro/menu.intro.MainActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class java.lang.reflect.Constructor
via Stack Overflow by Kunal Puri
, 4 months ago
Unable to start activity ComponentInfo{com.techweblearn.musicplayer/com.techweblearn.musicplayer.MainActivity}: android.view.InflateException: Binary XML file line #12: Binary XML file line #12: Error inflating class android.support.design.widget.NavigationView
java.lang.RuntimeException: Unable to start activity ComponentInfo{domainName.com.bubbletranslate/domainName.com.bubbletranslate.activity.PreferenceActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class java.lang.reflect.Constructor
at android.content.res.AssetManager.getResourceTextArray(AssetManager.java:215)
at android.content.res.Resources.getTextArray(Resources.java:448)
at android.content.res.TypedArray.getTextArray(TypedArray.java:629)
at android.preference.ListPreference.(ListPreference.java:51)
at java.lang.reflect.Constructor.constructNative(Native Method)
at android.preference.GenericInflater.createItem(GenericInflater.java:383)
at android.preference.GenericInflater.onCreateItem(GenericInflater.java:417)
at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:428)
at android.preference.GenericInflater.rInflate(GenericInflater.java:481)
at android.preference.GenericInflater.inflate(GenericInflater.java:326)
at android.preference.GenericInflater.inflate(GenericInflater.java:263)
at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:272)
at domainName.com.bubbletranslate.activity.PreferenceActivity$Display.onCreate(PreferenceActivity.java:31)
at android.app.Fragment.performCreate(Fragment.java:1678)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:859)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1044)
at android.app.FragmentManagerImpl.dispatchCreate(FragmentManager.java:1848)
at android.app.Activity.onCreate(Activity.java:902)
at android.support.v4.app.BaseFragmentActivityDonut.onCreate(BaseFragmentActivityDonut.java:41)
at domainName.com.bubbletranslate.activity.PreferenceActivity.onCreate(PreferenceActivity.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:2159)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3738)
at android.app.ActivityThread.access$900(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1202)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
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:779)

Users with the same issue

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.