[ https://issues.apache.org/jira/browse/CB-3851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filip Maj resolved CB-3851. --------------------------- Resolution: Not A Problem Assignee: Filip Maj We have a solution for this! Check out the {{merges}} directory and its support. It's in the [README|https://github.com/apache/cordova-cli/tree/master2#merges]. It allows you to put platform-specific overrides or files in that directory, which will be copied at {{prepare}}-time into the appropriate platform. So in your case, you could put your Android-specific images under {{merges/android/whatever}}, and not have them "pollute" your platform-agnostic {{www}} folder. Hope that helps! If you have any other questions about merges feel free to comment on this thread or hop on irc.freenode.net #cordova channel to talk to me :) > Android debug build includes all images in res directory > -------------------------------------------------------- > > Key: CB-3851 > URL: https://issues.apache.org/jira/browse/CB-3851 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Environment: npm 1.2.30 > cordova (cli) 2.8.19 > phonegap 2.8.1 > centos 6 > android sdk tools: 22.0.1 > android build tools: 17 > android platform tools: 17 > /usr/local all owned by me via chown > Reporter: Dan Moore > Assignee: Filip Maj > Priority: Minor > > The android debug apk I build using 'cordova build android' includes all the > images in the www/res/ directory, not just android images. > It sure would be great, for download size, to have only images for the > targetted platform be included in the build. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira