W/ResourceType( 756): Failure getting entry for 0x7f020004 (t=1 e=4) in package 0: 0xffffffb1
D/AndroIDRuntime( 756): Shutting down VM
W/dalvikvm( 756): threadID=1: thread exiting with uncaught exception (group=0x2aac47c8)
E/AndroIDRuntime( 756): FATAL EXCEPTION: main
E/AndroIDRuntime( 756): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxxx.mediacenter/com.xxxx.mediacenter.vIDeo.VIDeoPlayerActivity}: androID.vIEw.InflateException: Binary XML file line #279: Error inflating class <unkNown>
E/AndroIDRuntime( 756): at androID.app.ActivityThread.performlaunchActivity(ActivityThread.java:2663)
E/AndroIDRuntime( 756): at androID.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroIDRuntime( 756): at androID.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroIDRuntime( 756): at androID.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroIDRuntime( 756): at androID.os.Handler.dispatchMessage(Handler.java:99)
E/AndroIDRuntime( 756): at androID.os.Looper.loop(Looper.java:123)
E/AndroIDRuntime( 756): at androID.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroIDRuntime( 756): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroIDRuntime( 756): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroIDRuntime( 756): at com.androID.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroIDRuntime( 756): at com.androID.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroIDRuntime( 756): at dalvik.system.NativeStart.main(Native Method)
E/AndroIDRuntime( 756): Caused by: androID.vIEw.InflateException: Binary XML file line #279: Error inflating class <unkNown>
E/AndroIDRuntime( 756): at androID.vIEw.LayoutInflater.createVIEw(LayoutInflater.java:513)
E/AndroIDRuntime( 756): at com.androID.internal.policy.impl.PhoneLayoutInflater.onCreateVIEw(PhoneLayoutInflater.java:56)
E/AndroIDRuntime( 756): at androID.vIEw.LayoutInflater.createVIEwFromTag(LayoutInflater.java:563)
E/AndroIDRuntime( 756): at androID.vIEw.LayoutInflater.rInflate(LayoutInflater.java:618)
E/AndroIDRuntime( 756): at androID.vIEw.LayoutInflater.rInflate(LayoutInflater.java:621)
E/AndroIDRuntime( 756): at androID.vIEw.LayoutInflater.rInflate(LayoutInflater.java:621)
E/AndroIDRuntime( 756): at androID.vIEw.LayoutInflater.rInflate(LayoutInflater.java:621)
E/AndroIDRuntime( 756): at androID.vIEw.LayoutInflater.rInflate(LayoutInflater.java:621)
E/AndroIDRuntime( 756): at androID.vIEw.LayoutInflater.rInflate(LayoutInflater.java:621)
E/AndroIDRuntime( 756): at androID.vIEw.LayoutInflater.inflate(LayoutInflater.java:407)
E/AndroIDRuntime( 756): at androID.vIEw.LayoutInflater.inflate(LayoutInflater.java:320)
E/AndroIDRuntime( 756): at androID.vIEw.LayoutInflater.inflate(LayoutInflater.java:276)
E/AndroIDRuntime( 756): at com.androID.internal.policy.impl.PhoneWindow.setContentVIEw(PhoneWindow.java:198)
E/AndroIDRuntime( 756): at androID.app.Activity.setContentVIEw(Activity.java:1647)
E/AndroIDRuntime( 756): at com.xxxx.mediacenter.vIDeo.VIDeoPlayerActivity.onCreate(VIDeoPlayerActivity.java:152)
E/AndroIDRuntime( 756): at androID.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroIDRuntime( 756): at androID.app.ActivityThread.performlaunchActivity(ActivityThread.java:2627)
E/AndroIDRuntime( 756): ... 11 more
E/AndroIDRuntime( 756): Caused by: java.lang.reflect.InvocationTargetException
E/AndroIDRuntime( 756): at androID.Widget.Imagebutton.<init>(Imagebutton.java:78)
E/AndroIDRuntime( 756): at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroIDRuntime( 756): at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
E/AndroIDRuntime( 756): at androID.vIEw.LayoutInflater.createVIEw(LayoutInflater.java:500)
E/AndroIDRuntime( 756): ... 27 more
E/AndroIDRuntime( 756): Caused by: androID.content.res.Resources$NotFoundException: file res/drawable/seek_thumb.xml from drawable resource ID #0x7f020004
E/AndroIDRuntime( 756): at androID.content.res.Resources.loadDrawable(Resources.java:1697)
E/AndroIDRuntime( 756): at androID.content.res.TypedArray.getDrawable(TypedArray.java:601)
E/AndroIDRuntime( 756): at androID.Widget.ImageVIEw.<init>(ImageVIEw.java:118)
E/AndroIDRuntime( 756): at androID.Widget.Imagebutton.<init>(Imagebutton.java:82)
E/AndroIDRuntime( 756): ... 31 more
E/AndroIDRuntime( 756): Caused by: androID.content.res.Resources$NotFoundException: file res/drawable/seek_thumb.xml from xml type drawable resource ID #0x7f020004
E/AndroIDRuntime( 756): at androID.content.res.Resources.loadXmlResourceParser(Resources.java:1916)
E/AndroIDRuntime( 756): at androID.content.res.Resources.loadDrawable(Resources.java:1692)
E/AndroIDRuntime( 756): ... 34 more
E/AndroIDRuntime( 756): Caused by: java.io.fileNotFoundException: res/drawable/seek_thumb.xml
E/AndroIDRuntime( 756): at androID.content.res.AssetManager.openXmlAssetNative(Native Method)
E/AndroIDRuntime( 756): at androID.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:485)
E/AndroIDRuntime( 756): at androID.content.res.Resources.loadXmlResourceParser(Resources.java:1898)
E/AndroIDRuntime( 756): ... 35 more
W/ActivityManager( 615): Force finishing activity com.xxxx.mediacenter/.vIDeo.VIDeoPlayerActivity
W/ActivityManager( 615): Force finishing activity com.xxxx.mediacenter/.center.MediaCenteractivity
I/gralloc ( 615): Alloc:
I/gralloc ( 615): usage: 0x133
I/gralloc ( 615): format: 1
I/gralloc ( 615): 480x232
or
复制代码 代码如下:
E/AndroIDRuntime( 758): FATAL EXCEPTION: main
E/AndroIDRuntime( 758): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.vixs.mediacenter/com.xxxx.mediacenter.vIDeo.VIDeoPlayerActivity}: androID.content.res.Resources$NotFoundException: Resource ID #0x7f030004
E/AndroIDRuntime( 758): at androID.app.ActivityThread.performlaunchActivity(ActivityThread.java:2663)
E/AndroIDRuntime( 758): at androID.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroIDRuntime( 758): at androID.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroIDRuntime( 758): at androID.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroIDRuntime( 758): at androID.os.Handler.dispatchMessage(Handler.java:99)
E/AndroIDRuntime( 758): at androID.os.Looper.loop(Looper.java:123)
E/AndroIDRuntime( 758): at androID.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroIDRuntime( 758): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroIDRuntime( 758): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroIDRuntime( 758): at com.androID.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroIDRuntime( 758): at com.androID.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroIDRuntime( 758): at dalvik.system.NativeStart.main(Native Method)
E/AndroIDRuntime( 758): Caused by: androID.content.res.Resources$NotFoundException: Resource ID #0x7f030004
E/AndroIDRuntime( 758): at androID.content.res.Resources.getValue(Resources.java:892)
E/AndroIDRuntime( 758): at androID.content.res.Resources.loadXmlResourceParser(Resources.java:1869)
E/AndroIDRuntime( 758): at androID.content.res.Resources.getLayout(Resources.java:731)
E/AndroIDRuntime( 758): at androID.vIEw.LayoutInflater.inflate(LayoutInflater.java:318)
E/AndroIDRuntime( 758): at androID.vIEw.LayoutInflater.inflate(LayoutInflater.java:276)
E/AndroIDRuntime( 758): at com.androID.internal.policy.impl.PhoneWindow.setContentVIEw(PhoneWindow.java:198)
E/AndroIDRuntime( 758): at androID.app.Activity.setContentVIEw(Activity.java:1647)
E/AndroIDRuntime( 758): at com.vixs.mediacenter.vIDeo.VIDeoPlayerActivity.onCreate(VIDeoPlayerActivity.java:152)
E/AndroIDRuntime( 758): at androID.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroIDRuntime( 758): at androID.app.ActivityThread.performlaunchActivity(ActivityThread.java:2627)
资源都放在drawable和layout中就可以啦
总结
以上是内存溢出为你收集整理的解析android res 运行错误的问题全部内容,希望文章能够帮你解决解析android res 运行错误的问题所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)