- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am building APK with new Cordova building, but when I load the APK on Google Play, it says that the APP is not for tablet.
With this, it is not showed in Google Play when the user is on tablet.
What I need to do for fix it?
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can also set your desired preferences in the intelxdk.config.additions.xml file. This file becomes available after you upload your code under the Build tab. Note: You do not need to build your project to have this file become available.
Within this file, you can add the following line to target a particular device form factor:
<preference name="target-device" value="universal" /> <!-- all: possible values handset, tablet, or universal -->
An example Apache Cordova* config.xml containing "target-device" values on Github :
https://github.com/phonegap/phonegap-start/blob/master/www/config.xml
You can find more information about intelxdk.config.additions.xml file at https://software.intel.com/en-us/html5/articles/adding-special-build-options-to-your-xdk-cordova-app-with-the-intelxdk-config-additions-xml-file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Elroy,
Thank you for the answer. I tryed this and I confirmed in intelxdk.config.android.xml. The new information is there:
....
<preference name="splashscreen" value="splash" />
<!--creationInfo:{"src":"appStarter"}-->
<preference name="target-device" value="universal" />
</widget>
But, after publish the new APK, the Google Play inform the same: this APP is not prepared to tablet.
What more I need to do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recommend that you place this line in the additions file previously mentioned not the intelxdk.config.android.xml file. The android config file is written every time a build is initiated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I did that (insert a line in intelxdk.config.additions.xml). After the building I checked if that line was used. This line (in bold) was included automatically by the XDK during the building process:
....
<preference name="splashscreen" value="splash" />
<!--creationInfo:{"src":"appStarter"}-->
<preference name="target-device" value="universal" />
</widget>
But... the Google yet says: "This APP do not was made for tablet".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On Android devices this problem is normally caused by a plugin that is requiring a feature that tablets do not support. Typically, this is something like requiring a cellular interface. One way to figure this out is to remove each plugin, one-by-one, from your app and try submitting it to the store between each build until you figure out which plugin is causing the problem. Knowing which plugin is causing the problem might allow us to come up with a specific solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I made a lot of buildings with differents chooses of plugins. Even no plugin selected cause the same issue. Then, I started to analyse informations on Google Play, when I send a new APK. I get these information:
Recursos 4 recursos
android.hardware.screen.LANDSCAPE
android.hardware.TELEPHONY
android.hardware.TOUCHSCREEN
android.hardware.WIFI
As you can see, there is a line about TELEPHONY. I think that is blocking run on tablet.
But there is no plugin about it. How I can disable these line? Can I put some string in intelxdk.config.additions.xml?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is being caused by one of the xdk plugins, I believe it is the base or device plugin. We recommend that you move to using comparable Cordova plugins, those xdk plugins are being slowly deprecated in favor of more widely available equivalent Cordova plugins. With the Cordova plugins you also have full access to the source so you can customize them to your needs, including removing permissions that are interfering with your apps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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