Reputation: 10444
When i try to upload a signed app to the Google Play Store through the Android Developer Console i always get the error message: "Upload failed. You must add an icon to your APK file" (German original: Hochladen fehlgeschlagen Sie müssen ein Symbol zu Ihrer APK-Datei hinzufügen.)
So i checked my drawable folders and found following launcher icons:
And for test purposes
Android Manifest:
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" android:logo="@drawable/ic_launcher">
...
Cleaning and rebuilding the app did not help. I even signed the app on different pc's to ensure that there is no problem with the sign process.
I am using following libs:
Unfortunately I do not know where the problem can be. Thanks for reading
Upvotes: 0
Views: 2487
Reputation: 140
Actually this problem is not associated with your apk icon. It is associated with application label defined in the string.xml file.
Please check your string.xml file for the label that you have assigned in your manifest file.
remove "/" or "\" if any in the string "app_name".
For example remove "/" or "/" in
<string name="app_name">example/abc</string>
<string name="app_name">exampleabc</string>"
Hope it will solve your problem.
Upvotes: 1
Reputation: 6768
It may be this, described in the Launch Checklist, Point 12. Prepare promotional graphics, screenshots, and videos. There you have Graphic and Image Assets which states:
High Resolution Application Icon (Required):
Use: In various locations in Google Play. The high-resolution application icon does not replace your launcher icon. Specs: 512x512, 32-bit PNG with alpha; Max size of 1024KB. Tip: This does not replace your launcher icon, but should be a higher-fidelity, higher-resolution version of your application's launcher icon, following the same guidelines. The high resolution and launcher icons should be generated from the same file to create a clear user experience. The recommended way is to start from a large size or vector graphic, and scale down from there. The Android Asset Studio can help create these sizes.
This might be just the part you're missing.
Upvotes: 0
Reputation: 2104
This error occurs because of you are not using your application icon.... You are using the application default widget icon ... So for test just change the icon and upload that you will not get that message.
Upvotes: 0