android.view.InflateException: Binary XML file line #20: Error inflating class com.android.internal.policy.impl.RecentApplicationsBackground

Google Groups | Narayan G. Maharjan | 2 years 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

    Error in finding drawable resources

    Google Groups | 2 years ago | Narayan G. Maharjan
    android.view.InflateException: Binary XML file line #20: Error inflating class com.android.internal.policy.impl.RecentApplicationsBackground
  2. 0

    ShareActionProvider crash with Theme.Sherlock.Light.DarkActionBar

    GitHub | 5 years ago | rciovati
    android.view.InflateException: Binary XML file line #17: Error inflating class <unknown>
  3. 0

    Motorola phone has Resources$NotFoundException issues

    GitHub | 4 years ago | Nyceane
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.test.Myapp/com.test.Myapp.v2.Activities.AddFoodActivity}: android.view.InflateException: Binary XML file line #3: Error inflating class <unknown>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ShareActionProvider crashes with Light Dark Actionbar

    GitHub | 5 years ago | defer
    android.view.InflateException: Binary XML file line #17: Error inflating class <unknown>
  6. 0

    Error !

    GitHub | 2 years ago | NilakArgento
    java.lang.RuntimeException: Unable to start activity ComponentInfo{sevendays.ethnicmedia.us.seven/sevendays.ethnicmedia.us.seven.MainActivity}: android.view.InflateException: Binary XML file line #2: 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 pointer-icon

    at android.graphics.drawable.Drawable.createFromXmlInner()
  2. Android Platform
    LinearLayout.<init>
    1. android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:958)
    2. android.graphics.drawable.Drawable.createFromXml(Drawable.java:893)
    3. android.content.res.Resources.loadDrawable(Resources.java:2111)
    4. android.content.res.TypedArray.getDrawable(TypedArray.java:602)
    5. android.view.View.<init>(View.java:3685)
    6. android.view.ViewGroup.<init>(ViewGroup.java:470)
    7. android.widget.LinearLayout.<init>(LinearLayout.java:176)
    8. android.widget.LinearLayout.<init>(LinearLayout.java:172)
    8 frames
  3. Android
    RecentApplicationsBackground.<init>
    1. com.android.internal.policy.impl.RecentApplicationsBackground.<init>(RecentApplicationsBackground.java:49)
    1 frame
  4. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    2 frames
  5. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createView(LayoutInflater.java:594)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
    3. android.view.LayoutInflater.inflate(LayoutInflater.java:469)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:353)
    5 frames
  6. Android
    PhoneWindow.setContentView
    1. com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:3036)
    2. com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3099)
    3. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:312)
    4. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:306)
    4 frames
  7. Android Platform
    Activity.setContentView
    1. android.app.Activity.setContentView(Activity.java:1949)
    1 frame
  8. javafxports.android
    FXActivity.onCreate
    1. javafxports.android.FXActivity.onCreate(FXActivity.java:144)
    1 frame
  9. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5231)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2201)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2286)
    5. android.app.ActivityThread.access$800(ActivityThread.java:144)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1246)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:212)
    9. android.app.ActivityThread.main(ActivityThread.java:5135)
    9 frames
  10. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  11. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:878)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
    2 frames
  12. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame