[
https://issues.apache.org/jira/browse/CB-10268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebastian Futschikato updated CB-10268:
---------------------------------------
Description:
Hi,
I'm building my app for android. I detected that cordova/phonegap copies some
wrong icons - it takes some icons from the iOS folder. Here is the
corresponding output of "phonegap/cordova build android --verbose":
{quote}
copying image from /Project/www/res/icon/ios/icon-72.png to
/Project/platforms/android/res/drawable-hdpi/icon.png
copying image from /Project/www/res/icon/ios/icon-72-2x.png to
/Project/platforms/android/res/drawable-xxhdpi/icon.png
{quote}
The other icons are copied correctly. However, I specified all android icons as
needed in the config.xml and double checked the filenames and the existence of
the files:
{quote}
<platform name="android">
<icon src="www/res/icon/android/icon-36-ldpi.png" density="ldpi" />
<icon src="www/res/icon/android/icon-48-mdpi.png" density="mdpi" />
<icon src="www/res/icon/android/icon-72-hdpi.png" density="hdpi" />
<icon src="www/res/icon/android/icon-96-xhdpi.png" density="xhdpi" />
</platform>
{quote}
was:
Hi,
I'm building my app for android. I detected that cordova/phonegap copies some
wrong icons - it takes some icons from the iOS folder. Here is the
corresponding output of "phonegap/cordova build android --verbose":
{quote}
copying image from /Project/www/res/icon/ios/icon-72.png to
/Project/platforms/android/res/drawable-hdpi/icon.png
copying image from /Project/www/res/icon/ios/icon-72-2x.png to
/Project/platforms/android/res/drawable-xxhdpi/icon.png
{quote}
The other icons are copied correctly. However, I specified all android icons as
needed in the config.xml and double checked the filenames and the existence of
the files:
{quote}
<platform name="android">
<icon src="www/res/icon/android/icon-36-ldpi.png" density="ldpi" />
<icon src="www/res/icon/android/icon-48-mdpi.png" density="mdpi" />
<icon src="www/res/icon/android/icon-72-hdpi.png" density="hdpi" />
<icon src="www/res/icon/android/icon-96-xhdpi.png" density="xhdpi" />
</platform>
{quote}
One passing remark: It seems that also in the beginning when the old icons are
deleted from the folder platforms/android the hdpi and the xxhdpi icons are
left out, too:
{quote}
deleted: /Project/platforms/android/res/drawable-ldpi/icon.png
deleted: /Project/platforms/android/res/drawable-mdpi/icon.png
deleted: /Project/platforms/android/res/drawable-xhdpi/icon.png
{quote}
> "cordova build android" copies icons from iOS folder
> ----------------------------------------------------
>
> Key: CB-10268
> URL: https://issues.apache.org/jira/browse/CB-10268
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 5.4.1
> Environment: Arch Linux, PhoneGap 5.3.9
> Reporter: Sebastian Futschikato
>
> Hi,
> I'm building my app for android. I detected that cordova/phonegap copies some
> wrong icons - it takes some icons from the iOS folder. Here is the
> corresponding output of "phonegap/cordova build android --verbose":
> {quote}
> copying image from /Project/www/res/icon/ios/icon-72.png to
> /Project/platforms/android/res/drawable-hdpi/icon.png
> copying image from /Project/www/res/icon/ios/icon-72-2x.png to
> /Project/platforms/android/res/drawable-xxhdpi/icon.png
> {quote}
> The other icons are copied correctly. However, I specified all android icons
> as needed in the config.xml and double checked the filenames and the
> existence of the files:
> {quote}
> <platform name="android">
> <icon src="www/res/icon/android/icon-36-ldpi.png" density="ldpi" />
> <icon src="www/res/icon/android/icon-48-mdpi.png" density="mdpi" />
> <icon src="www/res/icon/android/icon-72-hdpi.png" density="hdpi" />
> <icon src="www/res/icon/android/icon-96-xhdpi.png" density="xhdpi" />
> </platform>
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]