I am trying to upload an apk to the play store, and this is failing with the message "Upload failed You need to add an icon to your APK.". This is a new app and has not been uploaded before.
I used aapt.exe to dump the apk's badging and get the following: package: name='foo.MyApp' versionCode='1' versionName='0.1' sdkVersion:'15' targetSdkVersion:'15' application-label:'My Application' application: label='My Application' icon='' application-debuggable launchable-activity: name='foo.myapp.MainActivity' label='Start Screen' icon='res/drawable/icon.png' (identifying details removed and remainder omitted) I'm assuming the icon='' on the third line is the problem. Things I've checked: 1. I _do_ have an icon in Resources/Drawable/Icon.png. It is 72x72x32bit and previews ok. Its build action is Android Resource. 2. In the generated obj/Release/android/AndroidManifest.xml file, the <application> element does _not_ have an android:icon parameter. Other apps have android:icon="@drawable/icon" there. 3. My main activity seems to be attributed correctly: [Activity(MainLauncher=true, Label="@string/Title", Icon="@drawable/Icon", Theme="@android:style/Theme.Holo.Light")] public class MainActivity : Activity { // ... } 4. The app runs correctly in the debugger on the emulator and a Galaxy S2 and the expected icon is displayed. 5. When I sign the app, the console output from jarsigner.exe indicates that res/drawable/icon.png is present in the apk file. 6. I'm using Mono for Android 4.4.55 with VS2010 SP1 on Windows 8 x64. 7. I am able to build/sign/deploy other applications to the play store. I've run out of ideas on this. I'd be very grateful if anyone could suggest possible solutions for this. Thanks, Andy -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Missing-icon-preventing-deploy-to-Play-Store-tp5713320.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid