您的位置:首页 > 产品设计 > UI/UE

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

2016-04-06 10:23 405 查看
Apk上传到应用宝的时候,腾讯检测报错。

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

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

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

<activity
android:name=".appendplug.im.xxxActivity"
android:icon="@color/transparent"
android:logo="@color/transparent"
android:screenOrientation="sensorPortrait"
android:theme="@style/MainTheme"
android:windowSoftInputMode="stateHidden" />


建议将icon 设置成透明的图片 这样就不会出现上面的问题了

思路:颜色是整形 不是string
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: