I am nearly finished with a new app, but need to see what my desktop icon looks like – at least on Android. I’ve put the icon.png file in resources/android/icon.png and run
ionic cordova resources android -i. Then to build the app and load it on my android phone (which is plugged in to my computer), I do
ionic build --prod && npx cap sync && npx cap open android.
From Android Studio, I build it and run it. It is successfully downloaded to my phone, but the icon on the desktop still looks like the ionic icon – not my new icon.
Should this work? Or do I have to build an apk as in https://ionicframework.com/docs/deployment/play-store and then move the apk to my phone somehow?
Or, is there a better way to see what the icon will look like on my phone?
If this answer is somewhere in the docs, please just point me to it. thanks.