You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/10/22 16:27:42 UTC

[jira] [Resolved] (CB-5145) Why are non-android resources included in platforms/android assets folder?

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

Andrew Grieve resolved CB-5145.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2.0
         Assignee: Andrew Grieve

Thanks for pointing this out! Will be fixed in the next release.

> Why are non-android resources included in platforms/android assets folder?
> --------------------------------------------------------------------------
>
>                 Key: CB-5145
>                 URL: https://issues.apache.org/jira/browse/CB-5145
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.1.0
>         Environment: Windows
>            Reporter: Peter
>            Assignee: Andrew Grieve
>            Priority: Minor
>             Fix For: 3.2.0
>
>
> The online guide http://cordova.apache.org/docs/en/edge/config_ref_images.md.html says
> {quote}
> When working in the CLI, icon source files are located within various platform-specific subdirectories within the project's www/res/icons directory. Newly created projects come with a default set of Cordova icons for you to replace for the platforms you wish to target.
> {quote}
> OK.
> But if I've only added the *android* platform to my CLI project then why would I want _non_-android resources copied into my platforms/_android_/assets/www/res folder? 
> For example,
> {code}
> D:\IMAPS\peter>cordova create myapp com.peter myapp
> D:\IMAPS\peter>cd myapp
> D:\IMAPS\peter\myapp>cordova platform add android
> D:\IMAPS\peter\myapp>tree platforms/android/assets/www/res
> Folder PATH listing
> Volume serial number is AAB8-3216
> D:\IMAPS\PETER\MYAPP\PLATFORMS\ANDROID\ASSETS\WWW\RES
> +---icon
> ¦   +---android
> ¦   +---bada
> ¦   +---bada-wac
> ¦   +---blackberry
> ¦   +---blackberry10
> ¦   +---ios
> ¦   +---tizen
> ¦   +---webos
> ¦   +---windows-phone
> +---screen
>     +---android
>     +---bada
>     +---bada-wac
>     +---blackberry
>     +---blackberry10
>     +---ios
>     +---tizen
>     +---webos
>     +---windows-phone
> D:\IMAPS\peter\myapp>
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)