You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/03/19 02:51:55 UTC

[GitHub] [cordova-android] Fmaldonado6 opened a new issue #694: Error:[One of the following attributes are set but missing the other for the density type: ldpi, mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi. Please ensure that all require attributes are defined.]

Fmaldonado6 opened a new issue #694: Error:[One of the following attributes are set but missing the other for the density type: ldpi, mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi. Please ensure that all require attributes are defined.]
URL: https://github.com/apache/cordova-android/issues/694
 
 
   I'm getting that error when I try to build my app eith an adaptive-icon in my config.xml, my code is the next one:
   
   `<platform name="android">
       <resource-file src="res/icon/android/colors.xml" target="/app/src/main/res/values/colors.xml" />
       <icon background="@color/background" density="ldpi" foreground="res/icon/android/ldpi-foreground.png" />
       <icon background="@color/background" density="mdpi" foreground="res/icon/android/mdpi-foreground.png" />
       <icon background="@color/background" density="hdpi" foreground="res/icon/android/hdpi-foreground.png" />
       <icon background="@color/background" density="xhdpi" foreground="res/icon/android/xhdpi-foreground.png" />
       <icon background="@color/background" density="xxhdpi" foreground="res/icon/android/xxhdpi-foreground.png" />
       <icon background="@color/background" density="xxxhdpi" foreground="res/icon/android/xxxhdpi-foreground.png" />
   </platform>`
   
   I'm using cordova-android 8.0.0

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org