You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/06/22 15:28:12 UTC
[GitHub] [cordova-android] ebmbook commented on issue #689: Build errors about drawable since upgrading to v8.0.0
ebmbook commented on issue #689:
URL: https://github.com/apache/cordova-android/issues/689#issuecomment-866085221
The best solution is to add all your density files under **www** folder and point to them.
For example:
` <splash density="hdpi" src="www/assets/icons/density/screen.png" />
<splash density="ldpi" src="www/assets/icons/density/drawable-port-ldpi-screen.png"/>
<splash density="mdpi" src="www/assets/icons/density/drawable-port-mdpi-screen.png"/>
<splash density="xhdpi" src="www/assets/icons/density/drawable-port-xhdpi-screen.png"/>
<splash density="xxhdpi" src="www/assets/icons/density/drawable-port-xxhdpi-screen.png"/>
<splash density="xxxhdpi" src="www/assets/icons/density/drawable-port-xxxhdpi-screen.png"/>
<splash density="land-ldpi" src="www/assets/icons/density/land-ldpi.png"/>
<splash density="land-mdpi" src="www/assets/icons/density/land-mdpi.png"/>
<splash density="land-hdpi" src="www/assets/icons/density/land-hdpi.png"/>
<splash density="land-xhdpi" src="www/assets/icons/density/land-xhdpi.png"/>
<splash density="land-xxhdpi" src="www/assets/icons/density/land-xxhdpi.png"/>
<splash density="land-xxxhdpi" src="www/assets/icons/density/land-xxxhdpi.png"/>
`
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org