java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.storyteller/com.example.storyteller.Caperucita}: android.view.InflateException: Binary XML file line #13: Error inflating class <unknown>

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 soso.io by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.example.storyteller/com.example.storyteller.Caperucita}: android.view.InflateException: Binary XML file line #13: Error inflating class <unknown>
via dolinked.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.example.storyteller/com.example.storyteller.Caperucita}: android.view.InflateException: Binary XML file line #13: Error inflating class <unknown>
via Stack Overflow by Whady
, 1 year ago
Unable to start activity ComponentInfo{com.example.storyteller/com.example.storyteller.Caperucita}: android.view.InflateException: Binary XML file line #13: Error inflating class <unknown>
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 GitHub by tumb1er
, 2 years ago
Unable to start activity ComponentInfo{ru.rutube.RutubeApp/ru.rutube.RutubeApp.ui.player.VitamioPlayerActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class fragment
via Stack Overflow by Ale
, 2 years ago
Unable to start activity ComponentInfo{it.aledev.todolist2/it.aledev.todolist2.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class fragment
java.lang.OutOfMemoryError:
at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:502)
at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:355)
at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:785)
at android.content.res.Resources.loadDrawable(Resources.java:1965)
at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
at android.view.View.(View.java:3330)
at android.view.View.(View.java:3259)
at android.view.ViewGroup.(ViewGroup.java:425)
at android.widget.RelativeLayout.(RelativeLayout.java:210)
at java.lang.reflect.Constructor.constructNative(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:587)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at android.app.Activity.setContentView(Activity.java:1881)
at com.example.storyteller.Caperucita.onCreate(Caperucita.java:26)
at android.app.Activity.performCreate(Activity.java:5104)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
at android.app.ActivityThread.access$600(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5041)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)

Users with the same issue

9 times, 9 months ago
3 times, 1 year ago
2 times, 1 year ago
34 times, 1 year ago
Once, 1 year ago

Write tip

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