cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <>
Subject [jira] [Resolved] (CB-3851) Android debug build includes all images in res directory
Date Tue, 18 Jun 2013 21:44:21 GMT


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|].
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 #cordova channel to talk to me :)
> Android debug build includes all images in res directory
> --------------------------------------------------------
>                 Key: CB-3851
>                 URL:
>             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:

View raw message