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/09/08 11:50:34 UTC

[GitHub] [cordova-android] EmilJunker commented on issue #942: adaptive icons broken

EmilJunker commented on issue #942:
URL: https://github.com/apache/cordova-android/issues/942#issuecomment-915166197


   Here's the config.xml:
   
   
   When I run `cordova prepare android`, I get:
   ```
   ENOENT: no such file or directory, open '/waistline/app/platforms/android/app/src/main/res/mipmap-ldpi-v26/ic_launcher.xml'
   ```
   
   If I change the setup in `config.xml` to:
   ```xml
   <icon density="ldpi" background="res/icon/android/ldpi-background.png" foreground="res/icon/android/ldpi-foreground.png" src="res/android/ldpi.png" />
   <icon density="mdpi" background="res/icon/android/mdpi-background.png" foreground="res/icon/android/mdpi-foreground.png" src="res/android/mdpi.png" />
   <icon density="hdpi" background="res/icon/android/hdpi-background.png" foreground="res/icon/android/hdpi-foreground.png" src="res/android/hdpi.png" />
   <icon density="xhdpi" background="res/icon/android/xhdpi-background.png" foreground="res/icon/android/xhdpi-foreground.png" src="res/android/xhdpi.png" />
   <icon density="xxhdpi" background="res/icon/android/xxhdpi-background.png" foreground="res/icon/android/xxhdpi-foreground.png" src="res/android/xxhdpi.png" />
   <icon density="xxxhdpi" background="res/icon/android/xxxhdpi-background.png" foreground="res/icon/android/xxxhdpi-foreground.png" src="res/android/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.

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