java.lang.RuntimeException: Unable to start activity ComponentInfo{com.my.app/com.my.app.SettingsActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class ListPreference

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 Stack Overflow by CommonsWare

Try loading the text file into a WebView, then printing the contents of the WebView.

,

Create an empty public constructor in your code.

Solutions on the web

via GitHub by dirkam
, 1 year ago
Unable to start activity ComponentInfo{com.my.app/com.my.app.SettingsActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class ListPreference
via GitHub by dirkam
, 1 year ago
Unable to start activity ComponentInfo{.SettingsActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class ListPreference
via Stack Overflow by Rhuan Caetano
, 2 years ago
Unable to start activity ComponentInfo{br.com.lineapp.tofind/br.com.lineapp.tofind.MapActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class fragment
via Stack Overflow by user3506414
, 2 years ago
Unable to start activity ComponentInfo{com.example.hellomaps/com.example.hellomaps.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class fragment
via Stack Overflow by JDSlimz
, 2 years ago
Unable to start activity ComponentInfo{com.dip.allnavyinfo/com.dip.allnavyinfo.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class Textview
via Stack Overflow by mr.icetea
, 11 months ago
Unable to start activity ComponentInfo{com.chotot.vn.dev/com.chotot.vn.v2.activities.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class android.support.v7.widget.Toolbar
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.my.app/com.my.app.SettingsActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class ListPreference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2071)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2096)
at android.app.ActivityThread.access$600(ActivityThread.java:138)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1207)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:213)
at android.app.ActivityThread.main(ActivityThread.java:4787)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at dalvik.system.NativeStart.main(NativeStart.java)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years 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.