Android的失败让一些入门 [英] android failure getting some entry

查看:541
本文介绍了Android的失败让一些入门的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个简单的活动显示自定义的对话框一些 RadioGroups ,没什么特别的。尽管与应用程序的工作,我发现标记为警告,一些奇怪的LogCat中输出和标签的ResourceType:

I have a simple Activity displaying a custom Dialog with some RadioGroups, nothing special. While working with the app, I noticed some strange LogCat output marked as warning and tagged ResourceType:

07-19 23:29:18.073: W/ResourceType(32621): Failure getting entry for 0x010802c1 (t=7 e=705) in package 0 (error -75)

我的应用程序如预期(虽然我在这一点上完成了10%以下),我不能发现任何问题。任何人都知道这个警告的意思,如果有可能在未来的任何有关的问题?

My app is working as intended (though I have less then 10% finished at this point), I couldn't notice any issues. Anyone knows the meaning of this warning and if there could be any related problems in the future?

P.S。在测试上有根SGS2 I9100(4.1.2 JB),并同时测试在SGS注N7000不会出现警告显示(也4.1.2)

P.S. the warning is shown while testing on a rooted SGS2 I9100 (4.1.2 JB) and does not appear while testing on SGS Note N7000 (also 4.1.2)

推荐答案

这是一种资源的问题。我有相同的警告信息,因为Android的SDK(日蚀)停止支持产生的图标 RES /绘制-LDPI 。而测试设备是一个具有较小的屏幕要求低DPI的图标。 据谷歌,设备的9.9%,是LDPI并且这个数字随时间减少。

It is a resource problem. I am having the same Warning message because Android SDK (eclipse) stopped support to generate icons for res/drawable-ldpi. And the testing device is one with a smaller screen which requires low DPI icons. According to Google, 9.9% of the devices are ldpi and this number is decreasing over time.

由于你提到的三星I9100,它是一个LDPI设备,这是正常的,有这样的警告。

Because you mentioned Samsung I9100, it is a ldpi device and it is normal to have this warning.

此消息表明资源没有发现其他的图标调整后使用。它可以的,如果你不想手动创建这样的图标被忽略。

This message shows that the resource is not found and other icons are used after resizing. It can be ignored if you don't want to create such icons manually.

这篇关于Android的失败让一些入门的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆