org.xmlpull.v1.XmlPullParserException: Binary XML file line #17: <nine-patch> requires a valid 9-patch source image

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 GitHub by sfabriece
, 1 year ago
Binary XML file line #24: <nine-patch> requires a valid 9-patch source image
via Stack Overflow by jackykuo
, 1 year ago
Binary XML file line #24: <nine-patch> requires a valid 9-patch source image
via GitHub by peterhav
, 1 year ago
Binary XML file line #24: <nine-patch> requires a valid 9-patch source image
via GitHub by jiangyue2780
, 1 year ago
Binary XML file line #24: <nine-patch> requires a valid 9-patch source image
org.xmlpull.v1.XmlPullParserException: Binary XML file line #17: <nine-patch> requires a valid 9-patch source image
at android.graphics.drawable.NinePatchDrawable.updateStateFromTypedArray(NinePatchDrawable.java:459)
at android.graphics.drawable.NinePatchDrawable.inflate(NinePatchDrawable.java:413)
at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:1217)
at android.graphics.drawable.Drawable.createFromXml(Drawable.java:1126)
at android.content.res.Resources.createFromXml(Resources.java:2964)
at android.content.res.Resources.loadDrawableForCookie(Resources.java:2676)
at android.content.res.Resources.loadDrawable(Resources.java:2580)
at android.content.res.MiuiResources.loadDrawable(MiuiResources.java:387)
at android.content.res.TypedArray.getDrawable(TypedArray.java:872)
at android.view.View.(View.java)
at android.view.ViewGroup.(ViewGroup.java)
at android.widget.FrameLayout.(FrameLayout.java)
at android.widget.FrameLayout.(FrameLayout.java)
at android.widget.FrameLayout.(FrameLayout.java)
at android.view.LayoutInflater.createView(LayoutInflater.java:623)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:698)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:766)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:708)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:839)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:802)
at android.view.LayoutInflater.inflate(LayoutInflater.java:519)
at android.view.LayoutInflater.inflate(LayoutInflater.java:427)
at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
at com.android.internal.policy.PhoneWindow.generateLayout(PhoneWindow.java:3909)
at com.android.internal.policy.PhoneWindow.installDecor(PhoneWindow.java:3981)
at com.mixpanel.android.viewcrawler.EditState.applyIntendedEdits(EditState.java:98)
at com.mixpanel.android.viewcrawler.EditState.applyEditsOnUiThread(EditState.java:83)
at com.mixpanel.android.viewcrawler.EditState.add(EditState.java:37)
at com.mixpanel.android.viewcrawler.ViewCrawler$LifecycleCallbacks.onActivityResumed(ViewCrawler.java:181)
at android.app.Application.dispatchActivityResumed(Application.java:218)
at android.app.Activity.onResume(Activity.java:1220)
at com.example.LaunchActivity.onResume(LaunchActivity.java:277)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1259)
at android.app.Activity.performResume(Activity.java:6379)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3099)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3141)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2488)
at android.app.ActivityThread.access$900(ActivityThread.java:153)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1349)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5442)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:738)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
40 times, 1 year ago
18 times, 1 year ago
14 times, 1 year ago

Write tip

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