I’ve updated cordova and ionic-cli to it’s latest release version and now if i build the project and install the APK the installation success (manually and using adb) but the app icon does not appear anywhere. The app is listed in settings > applications but nowhere else. I’m able to run my application in a device, and it works perfectly.
I’ve unzipped the APK and i’ve figured out that the AndroidManifest file is smaller:
-rw-r–r-- 1 diego users 4,1K 16.09.2016 18:49 AndroidManifest.xml
-rw-r–r-- 1 diego users 47K 21.07.2016 23:10 WorkingManifest.xml
I’ve cleaned and re-done the project so many times… I’ve downgraded ionic and cordova to it’s older version and still not working. Any idea?
Your system information:
Cordova CLI: 6.3.1
Gulp version: CLI version 1.2.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 1.2.0-nightly-1823
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0
OS: Distributor ID: ManjaroLinux Description: Manjaro Linux
Node Version: v6.4.0
@dicearr How about Android Studio sdk? Have you updated it? Or are you using Ionic package? I would try to install it on another android device and see if the same thing happens.
Do you have the icon files in correct locations? Are they defined in the config file?
Can you see an app icon when you open it on the android emulator?
Ok the error seems to be in the config.xml file. Specifically in the “config-file” node that relies on cordova-custom-config plugin. The issue was detected and exposed in its github repository https://github.com/dpa99c/cordova-custom-config/issues/67. The plugin was accidentally overwriting this piece of code: