-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: cordova-cli@6.4.0
-
Fix Version/s: None
-
Component/s: cordova-android, cordova-cli
-
Labels:
-
Environment:
Cordova CLI: 6.4.0
OS: Mac OS X Sierra
Node Version: v7.0.0
Cordova Android: 6.0.0
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.)
- duplicates
-
CB-12077 Custom app icons and splash screens not working in cordova-android v6.0.0
-
- Closed
-