[ 
https://issues.apache.org/jira/browse/CB-7173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser updated CB-7173:
---------------------------
         Labels: Android  (was: )
    Component/s:     (was: CLI)
                     (was: Android)

> deleteDefaultResource fails to delete resources
> -----------------------------------------------
>
>                 Key: CB-7173
>                 URL: https://issues.apache.org/jira/browse/CB-7173
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 3.5.0
>         Environment: Windows
>            Reporter: Remco Mokveld
>              Labels: Android
>
> in 
> https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/android_parser.js
>  the function deleteDefaultResources fails because it is trying to delete 
> drawable-{density}/{name} 
> from the current working directory instead of the android/res directory. 
> Fix: change android_parser.js:86 from 
> var template = path.join(filename, name);
> to
> var template = path.join(res, filename, name);
> Also resources from the drawable directory are never deleted. because it does 
> not contain the string 'drawable-'



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to