上传应用程序 - 错误获取安卓图标属性附加伤害 [英] Uploading app - Error getting android:icon atribute
问题描述
当我尝试上传我的应用程序谷歌播放我有这样的问题:
I'm having this problem when I try to upload my app to Google Play:
无法运行AAPT转储徽章:
W /的ResourceType(32467):资源数量0x01080051没有已知的包中获得价值的时候
错误获取'机器人:图标属性:属性不是一个字符串值
Failed to run aapt dump badging: W/ResourceType(32467): No known package when getting value for resource number 0x01080051 ERROR getting 'android:icon' attribute: attribute is not a string value
我一直在寻找,我知道这个问题可以通过字符串文件引起的。我发现<一个href=\"http://developer.appcelerator.com/question/148691/upload-apk-rror-getting-androidicon-attribute-attribute-is-not-a-string-value\"相对=nofollow>此页面但我不能按照第二部分是因为在第一步,我不明白类型和项...
I have been searching and I know this issue can be caused by the strings file. I found this page but I can't follow the second part because in the first step, I don't get the "type" and the "entry"...
我不知道我应该怎么办?谢谢帮助!
I don't know what should I do... Thanks for help!!
我的清单:
<?xml version="1.0" encoding="utf-8"?>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.RECORD_VIDEO" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@android:style/Theme.Holo">
<activity
android:name="com.extremeye.MainActivity"
android:label="@string/app_name"
android:screenOrientation="landscape" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.extremeye.VisualizadorActivity"
android:label="@string/title_visualizador"
android:screenOrientation="landscape"
android:icon="@drawable/void_icon"
android:configChanges="orientation|keyboardHidden|screenSize">
</activity>
<activity
android:name="com.extremeye.SeleccionActivity"
android:icon="@android:drawable/ic_menu_set_as"
android:label="@string/title_seleccion"
android:screenOrientation="landscape"
android:configChanges="orientation|keyboardHidden|screenSize" >
</activity>
<activity
android:name="com.extremeye.InfoActivity"
android:label="@string/title_info"
android:screenOrientation="landscape"
android:configChanges="orientation|keyboardHidden|screenSize" >
</activity>
</application>
推荐答案
原来,在我的清单中的应用程序图标:机器人:图标=@绘制/ app_icon已相应下/ RES /绘制小,/ RES文件/绘正常,/ RES /绘制大型和/ RES /绘,XLARGE但不是在/ RES /绘制。看起来谷歌的自动化过程只播放查找/ RES /绘制。复制应用程序图标到这个目录。
Turns out that the app icon in my manifest: android:icon="@drawable/app_icon" had corresponding files under /res/drawable-small, /res/drawable-normal, /res/drawable-large and /res/drawable-xlarge but not under /res/drawable. Looks like the automated process of Google Play only looks up /res/drawable. Copying the app icon into this directory.
这篇关于上传应用程序 - 错误获取安卓图标属性附加伤害的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!