将我的应用程序上传到谷歌播放时出错 - android

时间:2014-08-25 23:32:51

标签: android upload apk

我在上传apk时不断收到此错误消息。文件到谷歌播放:

Failed to run aapt dump badging:
W/ResourceType(13524): No known package when getting value for resource number 0x01080049
ERROR getting 'android:icon' attribute: attribute is not a string value

这是我的清单文件:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.flags"
android:versionCode="1"
android:versionName="1.0" >

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

<compatible-screens>
    <screen
        android:screenDensity="mdpi"
        android:screenSize="normal" />
    <screen
        android:screenDensity="hdpi"
        android:screenSize="normal" />
    <screen
        android:screenDensity="xhdpi"
        android:screenSize="normal" />
    <screen
        android:screenDensity="mdpi"
        android:screenSize="large" />
</compatible-screens>

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

<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<application
    android:allowBackup="true"
    android:icon="@drawable/icon"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    <meta-data
        android:name="com.google.android.gms.version"
        android:value="@integer/google_play_services_version" />

    <activity
        android:name="com.google.android.gms.ads.AdActivity"
            android:configChanges=  "keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
    <activity
        android:name="com.example``.flags.WaitScreen"
        android:label="@string/app_name"
        android:screenOrientation="portrait" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    </application>
  </manifest>

我尝试过的事情: 0.1。将label属性更改为“@null” - 不起作用。 0.2。将我的图标图像放在所有drawables文件夹中 - 包括“drawable”(没有扩展名) 0.3。更改图标图像名称。 0.4。将strings.xml放在我拥有的所有值文件夹中。

0 个答案:

没有答案