cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kelvin Dart (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-12106) Android resources not copied correctly when specified in config.xml
Date Wed, 02 Nov 2016 11:33:58 GMT
Kelvin Dart created CB-12106:
--------------------------------

             Summary: Android resources not copied correctly when specified in config.xml
                 Key: CB-12106
                 URL: https://issues.apache.org/jira/browse/CB-12106
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, CLI
    Affects Versions: cordova-cli@6.4.0
         Environment: Cordova CLI: 6.4.0
OS: Mac OS X Sierra
Node Version: v7.0.0
Cordova Android: 6.0.0
            Reporter: Kelvin Dart


# 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

1. Clone the following Git repo: https://github.com/kelvindart/CordovaAndroidResources
2. Run `cordova prepare`.
3. 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`
4. 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.)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message