我已經通過導出它在eclipse中籤署了android應用程序。但是,當我嘗試上傳.apk文件到市場我收到波紋管錯誤將應用程序上傳到Android市場時出錯
您的APK無法使用'aapt轉儲徽章'進行分析。錯誤輸出: 無法運行AAPT轉儲徽章: W /的ResourceType(32345):資源數量獲得價值時,沒有已知的包0x01080057 錯誤獲取「機器人:圖標」屬性:屬性不是一個字符串值
以下是我的Manifiest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="c.programs.simplified.vinay"
android:installLocation="auto"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS" />
<uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS" />
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
<uses-permission android:name="com.htc.launcher.permission.READ_SETTINGS" />
<uses-permission android:name="com.motorola.launcher.permission.READ_SETTINGS" />
<uses-permission android:name="com.motorola.dlauncher.permission.READ_SETTINGS" />
<uses-permission android:name="com.fede.launcher.permission.READ_SETTINGS" />
<uses-permission android:name="com.lge.launcher.permission.READ_SETTINGS" />
<uses-permission android:name="org.adw.launcher.permission.READ_SETTINGS" />
<uses-permission android:name="com.motorola.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.motorola.dlauncher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.lge.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS" />
<uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.apperhand.device.android.EULAActivity"
android:configChanges="keyboard|keyboardHidden|orientation"
android:theme="@android:style/Theme.Translucent" />
<activity
android:name="c.programs.simplified.vinay.Splash"
android:label="@string/app_name"
android:launchMode="standard"
android:screenOrientation="portrait"
android:theme="@style/Theme.Splash" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="c.programs.simplified.vinay.programview"
android:icon="@android:drawable/ic_menu_view"
android:launchMode="standard"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="c.programs.simplified.vinay.MainActivity"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:launchMode="standard"
android:screenOrientation="portrait" >
</activity>
</application>
</manifest>
我解決了這個問題。 Thanx Sourab Sharma。我已更改 android:icon =「@ drawable/icon」 –
如果您的解決方案與上述鏈接解決方案不同,請將其添加爲自己問題的答案,以便將來可以幫助其他人。 –
我解決了這個問題。我改變了android:icon =「@ drawable/icon」。默認爲 android:icon =「@ android:drawable/ic_menu_view」中的一項活動。將其更改爲我已更改android:icon =「@ drawable/icon」,問題得到解決。希望它也能幫助別人:) –