Rahul Gupta
Rahul Gupta

Reputation: 33

Cannot see ionic app icon after install of ionic app

I am searching from 2 months regarding app icon in ionic. but failed to set app icon.

I want to mention what i have done.

after running => ionic resources --icon

I can see the images in this folder \resources\android\icon.

I think there is no problem in my project

even i have tried to make scratch project and done the same but same result.

Upvotes: 1

Views: 228

Answers (3)

JanP
JanP

Reputation: 1581

Try to update your android platform to the latest version:

cordova platform update [email protected]

And then run ionic resources --icon again.

Upvotes: 0

Anshuman Singh
Anshuman Singh

Reputation: 1152

I had same problem. in my case new changes were not reflected to

/platform/android/res/ directory..

So I just copied content of /res (from project root directory) to

/platform/android/res.

Then it worked for me.

Upvotes: 0

Nizami
Nizami

Reputation: 239

There could be some problem with the image file you are using. You can use (.png), (.psd) and (.ai) files. Try using the file in some other format instead of which you already are. Save the file within the resources directory at the root of the Cordova project. The icon image’s minimum size should be 192 by 192 px, and there should be no rounded corners. Then run this command.

Run ionic resources from CLI. After that following folders will be created resources > android, resources > ios.

Add icon.png (or icon.psd or icon.ai) file in resource folder and run ionic resources command again. This will generate the splash image as well.

Upvotes: 1

Related Questions