android.content.res.Resources$NotFoundException: Resource ID #0x0                                                        at android.content.res.Resources.getValue(Resources.java:1309)                                                        at android.content.res.MiuiResources.getValue(MiuiResources.java:145)                                                        at android.content.res.Resources.loadXmlResourceParser(Resources.java:2745)                                                        at android.content.res.Resources.getLayout(Resources.java:1125)                                                        at android.view.LayoutInflater.inflate(LayoutInflater.java:416)                                                        at android.view.LayoutInflater.inflate(LayoutInflater.java:365)                                                        at com.tencent.qcload.playersdk.ui.VideoRootFrame.a(Unknown Source)                                                        at com.tencent.qcload.playersdk.ui.VideoRootFrame.<init>(Unknown Source)                                                        at java.lang.reflect.Constructor.newInstance(Native Method)

qcloud.com | 8 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

    VOD混淆打包后报错,如何解。-腾讯云官方论坛

    qcloud.com | 8 months ago
    android.content.res.Resources$NotFoundException: Resource ID #0x0                                                        at android.content.res.Resources.getValue(Resources.java:1309)                                                        at android.content.res.MiuiResources.getValue(MiuiResources.java:145)                                                        at android.content.res.Resources.loadXmlResourceParser(Resources.java:2745)                                                        at android.content.res.Resources.getLayout(Resources.java:1125)                                                        at android.view.LayoutInflater.inflate(LayoutInflater.java:416)                                                        at android.view.LayoutInflater.inflate(LayoutInflater.java:365)                                                        at com.tencent.qcload.playersdk.ui.VideoRootFrame.a(Unknown Source)                                                        at com.tencent.qcload.playersdk.ui.VideoRootFrame.<init>(Unknown Source)                                                        at java.lang.reflect.Constructor.newInstance(Native Method)
  2. 0

    Crash on Android 2.3.4 when changing to sorting by ETA

    GitHub | 1 year ago | barbeau
    android.view.InflateException: Binary XML file line #21: Error inflating class <unknown> 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.LayoutInflater.createView(LayoutInflater.java:518) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:570) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:623) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:408) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:320) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at org.onebusaway.android.util.ArrayAdapter.getView(ArrayAdapter.java:67) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.AbsListView.obtainView(AbsListView.java:1430) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.ListView.makeAndAddView(ListView.java:1793) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.ListView.fillDown(ListView.java:670) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.ListView.fillFromTop(ListView.java:727) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.ListView.layoutChildren(ListView.java:1632) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.AbsListView.onLayout(AbsListView.java:1260) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.View.layout(View.java:7277) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:338) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.View.layout(View.java:7277) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1254) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1130) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1047) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.View.layout(View.java:7277) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:338) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.View.layout(View.java:7277) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:338) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.View.layout(View.java:7277) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.support.v7.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:493) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.View.layout(View.java:7277) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:338) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.View.layout(View.java:7277) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1254) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1130) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1047) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.View.layout(View.java:7277) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:338) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.View.layout(View.java:7277) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.ViewRoot.performTraversals(ViewRoot.java:1203) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.ViewRoot.handleMessage(ViewRoot.java:1957) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.os.Looper.loop(Looper.java:150) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:4306) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:507) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at dalvik.system.NativeStart.main(Native Method) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at java.lang.reflect.Constructor.constructNative(Native Method) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at java.lang.reflect.Constructor.newInstance(Constructor.java:415) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.LayoutInflater.createView(LayoutInflater.java:505) 10-23 17:28:19.074 3657-3657/com.joulespersecond.seattlebusbot E/AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:570)
  3. 0

    Android Studio android.view.InflateException | Geleceği Yazanlar

    com.tr | 2 years ago
    android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f070033 a=-1 r=0x7f070033}             at android.content.res.Resources.loadDrawable(Resources.java:1892)             at android.content.res.TypedArray.getDrawable(TypedArray.java:601)             at android.view.View.<init>(View.java:3336)             at android.view.ViewGroup.<init>(ViewGroup.java:427)             at android.widget.AdapterView.<init>(AdapterView.java:235)             at android.widget.AbsListView.<init>(AbsListView.java:758)             at android.widget.ListView.<init>(ListView.java:141)             at android.widget.ListView.<init>(ListView.java:137)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot instantiate class: android.support.v7.widget.SearchView

    dolinked.com | 1 year ago
    android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x2/d=0x7f010030 a=-1} at android.content.res.Resources.loadDrawable(Resources.java:2068) at android.content.res.TypedArray.getDrawable(TypedArray.java:602) at android.widget.ImageView.(ImageView.java:129) at android.widget.ImageView.(ImageView.java:119)
  6. 0

    Cannot instantiate class: android.support.v7.widget.SearchView

    Stack Overflow | 3 years ago | ternes3
    android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x2/d=0x7f010030 a=-1} at android.content.res.Resources.loadDrawable(Resources.java:2068) at android.content.res.TypedArray.getDrawable(TypedArray.java:602) at android.widget.ImageView.(ImageView.java:129) at android.widget.ImageView.(ImageView.java:119)

Root Cause Analysis

  1. android.content.res.Resources$NotFoundException

    Resource ID #0x0                                                        at android.content.res.Resources.getValue(Resources.java:1309)                                                        at android.content.res.MiuiResources.getValue(MiuiResources.java:145)                                                        at android.content.res.Resources.loadXmlResourceParser(Resources.java:2745)                                                        at android.content.res.Resources.getLayout(Resources.java:1125)                                                        at android.view.LayoutInflater.inflate(LayoutInflater.java:416)                                                        at android.view.LayoutInflater.inflate(LayoutInflater.java:365)                                                        at com.tencent.qcload.playersdk.ui.VideoRootFrame.a(Unknown Source)                                                        at com.tencent.qcload.playersdk.ui.VideoRootFrame.<init>(Unknown Source)                                                        at java.lang.reflect.Constructor.newInstance(Native Method)

    at java.lang.reflect.Constructor.newInstance()
  2. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.newInstance(Constructor.java:288)
    1 frame
  3. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createView(LayoutInflater.java:611)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:747)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:810)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:508)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:418)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:365)
    6 frames
  4. Android
    PhoneWindow.setContentView
    1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:378)
    1 frame
  5. Android Platform
    Activity.setContentView
    1. android.app.Activity.setContentView(Activity.java:2160)
    1 frame
  6. com.fmkj.xbhappy
    MovieShowActivity.onCreate
    1. com.fmkj.xbhappy.activity.MovieShowActivity.onCreate(Unknown Source)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:6039)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2293)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2402)
    5. android.app.ActivityThread.access$800(ActivityThread.java:154)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1315)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:135)
    9. android.app.ActivityThread.main(ActivityThread.java:5283)
    9 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  9. Android
    ZygoteInit$MethodAndArgsCaller.run
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)
    1 frame