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

GitHub | Blaisorblade | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 490#250435114

    GitHub | 7 months ago | Blaisorblade
    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
  2. 0

    Crash when integrating in Android Studio project

    GitHub | 2 years ago | freefocus
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mumubj.momoda/com.mumubj.momoda.activity.MainActivity}: android.view.InflateException: Binary XML file line #39: Error inflating class <unknown>
  3. 0

    Resources$NotFoundException: Resource is not a ColorStateList (color or path): } in android

    Stack Overflow | 2 years ago | Pavankumar Kulkarni
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.connecttoserver/com.example.connecttoserver.SecondScreen}: android.view.InflateException: Binary XML file line #93: Error inflating class <unknown>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When set the background with a selector,it cause resouce not found

    Stack Overflow | 2 years ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.yuanpaiapp.yuanpai.android/com.yuanpaiapp.yuanpai.android.activity.LoginActivity}: android.view.InflateException: Binary XML file line #32: Error inflating class
  6. 0

    Why is this activity crashing?

    Stack Overflow | 2 years ago | Bad Computer
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jutt.dotbot/com.jutt.dotbot.PointsDrawerActivity}: android.view.InflateException: Binary XML file line #65: Error inflating class <unknown>
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.xmlpull.v1.XmlPullParserException

    Binary XML file line #2: invalid drawable tag vector

    at android.graphics.drawable.Drawable.createFromXmlInner()
  2. Android Platform
    Button.<init>
    1. android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:933)
    2. android.graphics.drawable.Drawable.createFromXml(Drawable.java:877)
    3. android.content.res.Resources.loadDrawable(Resources.java:2190)
    4. android.content.res.TypedArray.getDrawable(TypedArray.java:602)
    5. android.view.View.<init>(View.java:3561)
    6. android.widget.TextView.<init>(TextView.java:623)
    7. android.widget.Button.<init>(Button.java:107)
    8. android.widget.Button.<init>(Button.java:103)
    8 frames
  3. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    2 frames
  4. Android Platform
    LayoutInflater.createView
    1. android.view.LayoutInflater.createView(LayoutInflater.java:594)
    1 frame
  5. Android
    PhoneLayoutInflater.onCreateView
    1. com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
    1 frame
  6. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.onCreateView(LayoutInflater.java:669)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:694)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
    4. android.view.LayoutInflater.parseInclude(LayoutInflater.java:839)
    5. android.view.LayoutInflater.rInflate(LayoutInflater.java:745)
    6. android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
    7. android.view.LayoutInflater.parseInclude(LayoutInflater.java:839)
    8. android.view.LayoutInflater.rInflate(LayoutInflater.java:745)
    9. android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
    10. android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
    11. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
    12. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
    13. android.view.LayoutInflater.inflate(LayoutInflater.java:353)
    13 frames
  7. com.kamron.pogoiv
    Pokefly.onStartCommand
    1. com.kamron.pogoiv.Pokefly.createInfoLayout(Pokefly.java:714)
    2. com.kamron.pogoiv.Pokefly.onStartCommand(Pokefly.java:397)
    2 frames
  8. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2719)
    2. android.app.ActivityThread.access$2100(ActivityThread.java:144)
    3. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1302)
    4. android.os.Handler.dispatchMessage(Handler.java:102)
    5. android.os.Looper.loop(Looper.java:136)
    6. android.app.ActivityThread.main(ActivityThread.java:5139)
    6 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:796)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612)
    2 frames
  11. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame