java.lang.RuntimeException

Unable to start service com.kamron.pogoiv.Pokefly@41e1ace0 with Intent { cmp=com.kamron.pogoiv/.Pokefly (has extras) }: android.view.InflateException: Binary XML file line #27: Error inflating class android.widget.Button

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web55797

  • via GitHub by Blaisorblade
    , 9 months ago
    Unable to start service com.kamron.pogoiv.Pokefly@41e1ace0 with Intent { cmp=com.kamron.pogoiv/.Pokefly (has extras) }: android.view.InflateException: Binary XML file line #27: Error inflating class android.widget.Button
  • via Stack Overflow by bond007
    , 1 year ago
    Unable to start activity ComponentInfo{}: android.view.InflateException: Binary XML file line #86: Error inflating class android.widget.Button
  • Unable to start service ir.rn.lockscreen.Bestservice@52a5a95c with Intent {cmp=ir.rn.lockscreen/.Bestservice }: android.view.InflateException: Binary XML file line #31: Error inflating class me.zhanghai.patternlock.PatternView at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2721) at android.app.ActivityThread.access$1900(ActivityThread.java:141)
  • Stack trace

    • java.lang.RuntimeException: Unable to start service com.kamron.pogoiv.Pokefly@41e1ace0 with Intent { cmp=com.kamron.pogoiv/.Pokefly (has extras) }: android.view.InflateException: Binary XML file line #27: Error inflating class android.widget.Button at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2736) at android.app.ActivityThread.access$2100(ActivityThread.java:144) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1302) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5139) 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:796) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #27: Error inflating class android.widget.Button at android.view.LayoutInflater.createView(LayoutInflater.java:620) at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:669) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:694) at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) at android.view.LayoutInflater.parseInclude(LayoutInflater.java:839) at android.view.LayoutInflater.rInflate(LayoutInflater.java:745) at android.view.LayoutInflater.rInflate(LayoutInflater.java:758) at android.view.LayoutInflater.parseInclude(LayoutInflater.java:839) at android.view.LayoutInflater.rInflate(LayoutInflater.java:745) at android.view.LayoutInflater.rInflate(LayoutInflater.java:758) at android.view.LayoutInflater.rInflate(LayoutInflater.java:758) 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 com.kamron.pogoiv.Pokefly.createInfoLayout(Pokefly.java:714) at com.kamron.pogoiv.Pokefly.onStartCommand(Pokefly.java:397) at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2719) ... 10 more Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at android.view.LayoutInflater.createView(LayoutInflater.java:594) ... 27 more Caused by: android.content.res.Resources$NotFoundException: File res/drawable/poke_picker_toggle.xml from drawable resource ID #0x7f020064 at android.content.res.Resources.loadDrawable(Resources.java:2194) at android.content.res.TypedArray.getDrawable(TypedArray.java:602) at android.view.View.<init>(View.java:3561) at android.widget.TextView.<init>(TextView.java:623) at android.widget.Button.<init>(Button.java:107) at android.widget.Button.<init>(Button.java:103) ... 30 more Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #2: invalid drawable tag vector at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:933) at android.graphics.drawable.Drawable.createFromXml(Drawable.java:877) at android.content.res.Resources.loadDrawable(Resources.java:2190) ... 35 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    11 times, 7 months ago
    4 times, 11 months ago
    Unknown user
    Once, 4 hours ago
    5 times, 2 weeks ago
    Unknown user
    Once, 1 month ago
    21 more bugmates