0

我正在尝试将我的 .apk 文件上传到 Google Play 市场,但出现此错误:

上传失败 您的 APK 无法使用“aapt dump badging”进行分析。错误输出:无法运行 aapt 转储标记:W/ResourceType(21292):无法在包 0 中获取 0x7f070000 (t=6 e=0) 的条目(错误 -75)获取“android:icon”属性的错误:属性不是一个字符串值

我在可绘制文件夹中有图标图像。

我有一些翻译的 values-sr 文件夹,但我删除了那个文件夹,因为我现在不需要那个翻译。

这是我的 AndroidManifest.xml 文件:

<uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="8" />

<supports-screens                                 
android:smallScreens="true"                    
android:normalScreens="true"         
android:largeScreens="true"            
android:xlargeScreens="true"             
android:anyDensity="true" />

<application
    android:allowBackup="true"
    android:icon="@drawable/icon"
    android:label="@string/app_name"
    android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen" >
    <activity
        android:name="com.zookey.mathgenius.HomeActivity"
        android:screenOrientation="portrait"
        android:configChanges="orientation|keyboardHidden|keyboard"
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity android:name="com.zookey.mathgenius.activities.LocalGameActivity" android:noHistory="true" android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden|keyboard"></activity>
    <activity android:name="com.zookey.mathgenius.activities.ResultActivity" android:noHistory="true" android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden|keyboard"></activity>
    <activity android:name="com.zookey.mathgenius.activities.TimedResultActivity" android:noHistory="true" android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden|keyboard"></activity>
    <activity android:name="com.zookey.mathgenius.activities.RaceResultActivity" android:noHistory="true" android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden|keyboard"></activity>
    <activity android:name="com.zookey.mathgenius.activities.RaceRankActivity" android:noHistory="true" android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden|keyboard"></activity>
    <activity android:name="com.zookey.mathgenius.activities.OnlineRaceRankActivity" android:noHistory="true" android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden|keyboard"></activity>
    <activity android:name="com.zookey.mathgenius.activities.OnlineRaceResultActivity" android:noHistory="true" android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden|keyboard"></activity>
    <activity android:name="com.zookey.mathgenius.activities.SettingsActivity" android:noHistory="true" android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden|keyboard"></activity>
    <activity android:name="com.zookey.mathgenius.activities.HelpActivity" android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden|keyboard"></activity>
    <activity android:name="com.google.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
</application>

4

1 回答 1

0

我猜你在“values/strings.xml”中缺少一些你错过的字符串- app_name?。如果您使用带有 android 工具的 IDE,您可以清理项目并重新构建它,这应该可以清除错误或为您提供有关问题所在的指针。

于 2013-06-21T00:24:31.123 回答