You need to add an icon to your APK while uploading App to google play

10,755

Solution 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.

Solution 2

I had the same problem make sure that you don't have \n in the name of your application

Solution 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">

Solution 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.

Share:
10,755
user1924779
Author by

user1924779

Updated on June 15, 2022

Comments

  • user1924779
    user1924779 about 2 years

    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 .enter image description here

  • Jade Byfield
    Jade Byfield over 11 years
    This answer did it for me. Thank you!
  • lelloman
    lelloman over 10 years
    you're a hero, really
  • Mitesh Shah
    Mitesh Shah over 8 years
    @user1634451: sorry, I am unable to get it. Can you please explain?
  • user1634451
    user1634451 over 8 years
    @MiteshShah if you have a new line character in the application name google doesn't let you upload it
  • Mitesh Shah
    Mitesh Shah over 8 years
    Thank you for the reply. But, there is not new line character in app name. It's just a single word. Still I am facing this issue.
  • user1634451
    user1634451 over 8 years
    Is there any special characters in your app name?