Big Dude
Big Dude

Reputation: 264

Ionic app icon doesn't change

I'm building an android app with Visual Studio 15 Community, Ionic and Apache Cordova and I would like to update the icon of my ionic app. I'm emulating the app with Genymotion but I get the same result using the build-in android emulator from VS15.

Additionally, I used a blank ionic project.

I've already tried

hierarchy of my project

I didn't try

Maybe I'm getting something wrong here because usually this isn't a big deal. I really appreciate all your answers, thank you for taking the time to deal with this!

Upvotes: 1

Views: 2923

Answers (3)

Manas
Manas

Reputation: 3330

As of the latest updates. if the splash and the icon did not update. that is because the latest version of ionic creates 2 md5 files of the icon and the splash. which i guess is locking the updates.

just delete these 2 files: “icon.png.md5” and “splash.png.md5”.

then run the following command : ionic cordova resources

then splash and the icon should be updated. might be helpful to someone out there cheers!!

Upvotes: 1

Big Dude
Big Dude

Reputation: 264

As mentioned earlier by a user whos post has been deleted (why?), all I had to do was to

  1. open my command line
  2. go to the directory in which my project is
  3. type the command $ ionic resources
  4. That's it! Ionic does all the rest

A quick note: I didn't know that I had to install the tools (Android SDK, Apache Cordova etc.) because I thought that Visual Studio downloads them due to the first build so why installing it locally. You must install them locally, it will not work without the tools installed on your machine.

Hope I could help

Upvotes: 0

Adrian Grygutis
Adrian Grygutis

Reputation: 479

Density is set to "xxxhdpi" density. Maybe you need to add another screen options? Try to refresh project, too.

Upvotes: 0

Related Questions