Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
cordova-cli@6.4.0
-
None
-
Cordova CLI: 6.4.0
OS: Mac OS X Sierra
Node Version: v7.0.0
Cordova Android: 6.0.0
Description
Android resources are not copied correctly when specified in config.xml
Info:
I have created a basic app to illustrate the issue, if you clone the following URL and follow the instructions below, you will see: https://github.com/kelvindart/CordovaAndroidResources
Issue:
Running `cordova prepare` or `cordova build` does not seem to move the specified resources correctly, and removes them to the root of the project, not within the android project.
Expecting:
`resources` to be merged in `platforms/android/res/` after running one of the above two commands.
Steps to reproduce:
- Clone the following Git repo: https://github.com/kelvindart/CordovaAndroidResources
- Run `cordova prepare`.
- Observe a newly created folder in `./` named `res` - inside here are android folders for the various screen sizes, containing your resources specified in `config.xml`
- Further note, in `./platforms/android/res/` the old resources are still present.
(N.b. I am unable to add the relevant cordova-android@6.0.0 tags.)
Attachments
Issue Links
- duplicates
-
CB-12077 Custom app icons and splash screens not working in cordova-android v6.0.0
- Closed