cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elix Chen (JIRA)" <>
Subject [jira] [Commented] (CB-8503) Strange behavier for android icons - from 3.7.1 no workaround
Date Thu, 19 Mar 2015 09:17:38 GMT


Elix Chen commented on CB-8503:

Hi, I'm using 4.2.0 at the moment and encountered the same problem.

During build, phonegap does 3 things.

1) deletes any icons you have saved in the platforms/android/res folder

2) copies the icons from the ios folders into the platforms/android/res folder

3) uses those icons and puts them into platforms/android/ant-build/res folder.

So I've change the icons in the ios folder:
Rename hdpi icon as "icon-72.png",
xhdpi icon as "icon-72-2x".

that's my workaround at least..

> Strange behavier for android icons - from 3.7.1 no workaround
> -------------------------------------------------------------
>                 Key: CB-8503
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.7.1
>         Environment: Windows 8.1 64 bits.
> Cordova CLI 4.2.0
> Android platform 3.7.1
>            Reporter: Ziv Barber
> Since ever there's a bug in creating the android icons so both platforms\android\ant-build\res\drawable-hdpi
and platforms\android\ant-build\res\drawable-xhdpi been replaced by old icons that cordova
talking I don't know from where (during cordova build). So I used the workaround to set to
read only these 2 icon files and everything was fine. Since 3.7.1 it's not working anymore
and now the bug is even worse: platforms\android\ant-build\res\drawable-xhdpi now is fine
but platforms\android\ant-build\res\drawable-hdpi get cleared all the time so when I'm installing
the app I'm always getting a small icon in the dashboard.
> I'll be more then happy if you'll fix this old bug, or at last make to it work with the
workaround of setting the files to read-only.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message