You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "KoreLewi (via GitHub)" <gi...@apache.org> on 2023/05/26 13:19:57 UTC
[GitHub] [cordova-android] KoreLewi commented on issue #1616: Adaptive Icon not working with cordova-android 12
KoreLewi commented on issue #1616:
URL: https://github.com/apache/cordova-android/issues/1616#issuecomment-1564385494
I have the same problem.
I'm using Cordova 10.0.0 (cordova-lib@10.1.0) with Cordova platform android 11.0.0, and I'm getting the same error message for the following code:
```
<icon background="res/android/bcg.png" density="ldpi" src="res/android/ldpi.png" />
<icon background="res/android/bcg.png" density="mdpi" src="res/android/mdpi.png" />
<icon background="res/android/bcg.png" density="hdpi" src="res/android/hdpi.png" />
<icon background="res/android/bcg.png" density="xhdpi" src="res/android/xhdpi.png" />
<icon background="res/android/bcg.png" density="xxhdpi" src="res/android/xxhdpi.png" />
<icon background="res/android/bcg.png" density="xxxhdpi" src="res/android/xxxhdpi.png" />
```
"One of the following attributes are set but missing the other for the density type: mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi. Please ensure that all required attributes are defined."
I'm relatively new to Cordova, I want to deploy a quasar application with predefined icon background color.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org