aERROR getting 'android:icon' attribute: attribute is not a string value

Apk上传到应用宝的时候,腾讯检测报错。

aapt工具解析结果如下(错误码:11050401):

其中 出现:aERROR getting 'android:icon' attribute: attribute is not a string value 这样的错误

极有可能是将颜色值直接设置给icon:如:

  


建议将icon 设置成透明的图片 这样就不会出现上面的问题了
思路:颜色是整形 不是string

你可能感兴趣的:(android,开发)