Skip to content

ionic resources doesn't copy the android icon/splash into the android platform folder #1857

@jgw96

Description

@jgw96

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: ionic-team/ionic-framework#10056

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions