Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
202 views
in Technique[技术] by (71.8m points)

android failure getting some entry

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)

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. 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)

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

56.9k users

...