- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
We have been working on a android app which needs XXHDPI and XXXHDPI support, unfortunately the intel XDK build system says "Skipping xxhdpi due to invalid density" Please help.
We have used the intelxdk.config.additions.xml
<!-- +Android --><icon platform="android" src="images/xxhdpi.png" density="xxhdpi" width="144" height="144"/> <!-- +Android --><icon platform="android" src="images/xxxhdpi.png" density="xxxhdpi" width="192" height="192"/>
With no luck, please see the below screen shot for reference. Please let us know how should we resolve this. Thanks.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What device(s) are you running this application on? When setting the icon configuration, you are not required to include width and height for the Android platform. Can you share your Intel XDK Build Log?
For more information, visit http://cordova.apache.org/docs/en/4.0.0/config_ref_images.md.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi I have this problem too.
I have to make an application, with icons xxhdpi, and is not possible.
I'm working with Intel compiler CrossWalk XDK
In the file
intelxdk.config.crosswalk.xml
I add
<icon platform="android" src="res/icon/android/iiiicon-144-xxhdpi.png" density="xxhdpi" width="144" height="144"/>
<icon platform="android" src="res/icon/android/iiiicon-192-xxxhdpi.png" density="xxxhdpi" width="192" height="192"/>
but when compiled, Intel XDK, eliminates those lines.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, can someone tell me how to include icons and xxxhdpi xxhdpi?
I am including by file:
intelxdk.config.additions.xml
But on Intel LOG XDK when compiled with CrossWalk gives this error:
Installed mdpi launch icon
Installed hdpi launch icon
Installed xhdpi launch icon
Skipping image, unrecognized density "xxhdpi"
Skipping image, unrecognized density "xxxhdpi"
I find no way to accept xxhdpi or xxxhdpi
Any ideas? I have a paper due, and mobile very definition screen of the app icon looks ugly.
My client does not like.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
XXHDPI and XXXHDPI icons are currently not supported in the Android Cordova builds.
I do not have a date on when they will be available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys - is there any update on xxhdpi support for Android? It's becoming an increasing issue with bigger, higher density screens - the automatic scaling up is not ideal for a professional looking icon.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I figured out a workaround. The CLI 4.1.2 build system will support this, but our build system (and the XDK) don't know about the XX and XXX sizes. However, Cordova CLI 4.1.2 does know about those sizes. So here's your workaround:
- copy your XX and XXX icons into your source directory (usually named www)\
- add the following lines to your intelxdk.config.additions.xml file
- see this Cordova doc page for some more details
Assuming your icons and splash screen images are stored in your source directory (www), then add lines similar to the intelxdk.config.additions.xml file (the precise name of your png files may be different than what I have here):
<!-- for adding xxhdpi and xxxhdpi icons on Android --> <platform name="android"> <icon src="www/xxhdpi.png" density="xxhdpi" /> <icon src="www/xxxhdpi.png" density="xxxhdpi" /> <splash src="www/splash-port-xhdpi.png" density="port-xhdpi"/> <splash src="www/splash-land-xhdpi.png" density="land-xhdpi"/> </platform>
The precise names of your PNG files are not important, but the "density" designations are very important and, of course, the respective resolutions of your PNG files must be consistent with the Android requirements. Those density parameters specify the respective "res-drawable-*dpi" directories that will be created in your APK for use by the underlying Android OS. NOTE: I've added the splash screen references for example, you don't need to use those.
You can continue to insert icons into your app using the XDK, or do all of them this way. Since there is no way to remove icons from the Projects tab (something I've been asking for), you'll have to remove them from the <project-name>.xdk file directly (it's up to you).
Give it a try and let me know how well it works. I did only a quick test and confirmed they show up in the right places in the APK file, I did not do a complete test, but this should work based on the results of my test.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can I do the same for Crosswalk builds because I tried it and it didn't seem to work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It does not yet work correctly on our build system. The build system does some pre-processing of icon and splash screens (due to having to do this for the older build systems) and is not properly handling the xx and xxx icon sizes. There is an open bug that has been filed to address this, but I cannot say when or how soon it will be available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any update on this issue? I would like to add xxhdpi and tvdpi icons to my Crosswalk 15 build.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should be able to add icons that are larger than the specified values for android. I believe they are the min allowed, but can be bigger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Gary, try using the technique used in the "hello-cordova" demo app. See the intelxdk.config.additions.xml file.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page