可绘制文件夹中的未知错误

时间:2013-01-22 15:05:40

标签: android drawable

创建一个整合zxing的应用。我按照这个网站http://damianflannery.wordpress.com/2011/06/13/integrate-zxing-barcode-scanner-into-your-android-app-natively-using-eclipse/进行了跟踪。现在我在drawable文件夹中有错误。请指导我。

先谢谢。enter image description here

1 个答案:

答案 0 :(得分:0)

当您根据density划分以在Android应用内实现多种尺寸支持时。

但是没有xxhdpi

ldpi    Resources for low-density (ldpi) screens (~120dpi).
mdpi    Resources for medium-density (mdpi) screens (~160dpi). (This is the baseline density.)
hdpi    Resources for high-density (hdpi) screens (~240dpi).
xhdpi   Resources for extra high-density (xhdpi) screens (~320dpi).
nodpi   Resources for all densities. These are density-independent resources. 
tvdpi   Resources for screens somewhere between mdpi and hdpi; approximately 213dpi. This is not considered a "primary" density group. It is mostly intended for televisions and most apps shouldn't need it—providing mdpi and hdpi resources is sufficient for most apps and the system will scale them as appropriate.

项目中drawable-xxhdpi内部res/不需要{{1}}。所以请将其删除。

有关详细信息,请按照这些configuration qualifiers

进行操作