ionic-cli: ionic resources doesn't copy the android icon/splash into the android platform folder
From @tones411 on January 16, 2017 19:44
Ionic version: (check one with “x”) [ X] 2.x
I’m submitting a … (check one with “x”) [ X] bug report
Current behavior: Android icon and splash screen are not copied to the Android platform folders.
Expected behavior: Android icon and launch screen would be generated and added to the Android platform
Steps to reproduce: Create a new project by running: “ionic start TestResources --v2” copy your splash.png and icon.png into the resources folder run “ionic resources” Navigate to ./TestResources/platforms/android/res" folders You will see that the icon and splash images are still using the default Cordova images.
** Notes ** This works for iOS, but not Android
Ionic info: (run ionic info
from a terminal/cmd prompt and paste output below):
Cordova CLI: 6.4.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
ios-deploy version: 1.9.0
ios-sim version: 3.1.1
OS: macOS Sierra
Node Version: v6.9.4
Xcode version: Xcode 8.2.1 Build version 8C1002
Copied from original issue: driftyco/ionic#10056
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 18 (14 by maintainers)
I too had this issue generating the wrong icon.
Solved by: ionic platform rm android ionic platform add android@6.1.0
@WebAddict thank you it solve my problem!!!