I dont know where i am going wrong . I need to upload APK to google play and whenever i am trying to upload it , it is showing an error message as displayed in the attached screenshot. The error is that " You need to add an icon to your APK " but for sure i have already added an icon to my APk in my manifest file . I dont what it is asking for whether it is error because of icon resolution or there is something i am lacking with . pls help .
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
It is likely that in your manifest that you do not have an icon defined or are referencing an image that does not exist.
回答2:
I had the same problem make sure that you don't have \n in the name of your application
回答3:
The same problem but in my case I was missing "android:icon" attribute in application element, note I had it only in activity.
<application ... android:icon="@drawable/ic_launcher">
<activity ... android:icon="@drawable/ic_launcher">
回答4:
After long and painful search, found that ApplicationAttributes in Manifest file was empty, inspite of mentioning android:icon="@drawable/app_icon" in AndroidManifest.xml.
Filling up ApplicationAttributes solved my problem.
回答5:
remove \n from your application name