2013-05-18 3 views
1

При публикации APK порожденную ПГБ - Google Play говорит App "не поддерживается" 267 устройств, в том числе Google Nexus 7.PhoneGap Build - неподдерживаемых устройств на Google Play

The config.xml:

<?xml version="1.0" encoding="UTF-8"?> 
<widget xmlns = "http://www.w3.org/ns/widgets" 
    xmlns:gap = "http://phonegap.com/ns/1.0" 
    id  = "com.test" 
    version = "1.0.0"> 

    <name>Test</name> 

    <description>Test</description> 

    <author href="http://www.test.com/" email="[email protected]">Test</author> 

    <preference name="phonegap-version"   value="2.5.0" />   <!-- all: current version of PhoneGap --> 
    <preference name="orientation"    value="default" />  <!-- all: default means both landscape and portrait are enabled --> 
    <preference name="target-device"    value="universal" />  <!-- all: possible values handset, tablet, or universal --> 
    <preference name="fullscreen"     value="true" />   <!-- all: hides the status bar at the top of the screen --> 
    <preference name="webviewbounce"    value="false" />   <!-- ios: control whether the screen 'bounces' when scrolled beyond the top --> 
    <preference name="prerendered-icon"   value="true" />   <!-- ios: if icon is prerendered, iOS will not apply it's gloss to the app's icon on the user's home screen --> 
    <preference name="stay-in-webview"   value="false" />   <!-- ios: external links should open in the default browser, 'true' would use the webview the app lives in --> 
    <preference name="ios-statusbarstyle"   value="black-opaque" /> <!-- ios: black-translucent will appear black because the PhoneGap webview doesn't go beneath the status bar --> 
    <preference name="detect-data-types"   value="false" />   <!-- ios: controls whether data types (such as phone no. and dates) are automatically turned into links by the system --> 
    <preference name="exit-on-suspend"   value="false" />   <!-- ios: if set to true, app will terminate when home button is pressed --> 
    <preference name="show-splash-screen-spinner" value="false" />   <!-- ios: if set to false, the spinner won't appear on the splash screen during app loading --> 
    <preference name="auto-hide-splash-screen" value="false" />   <!-- ios: if set to false, the splash screen must be hidden using a JavaScript API --> 
    <preference name="disable-cursor"    value="false" />   <!-- blackberry: prevents a mouse-icon/cursor from being displayed on the app --> 
    <preference name="android-minSdkVersion"  value="7" />    <!-- android: MIN SDK version supported on the target device. MAX version is blank by default. --> 
    <preference name="android-installLocation" value="auto" />   <!-- android: app install location. 'auto' will choose. 'internalOnly' is device memory. 'preferExternal' is SDCard. --> 

    <gap:plugin name="BarcodeScanner" /> 
    <gap:plugin name="GenericPush" /> 
    <gap:plugin name="GAPlugin" /> 

    <access origin="*" /> 

    <icon src="icon.png" /> 
    <gap:splash src="splash.png" /> 

</widget> 

Любая идея, как это можно решить?

ответ

1

В общем, AndroidManifest.xml - это файл, который необходимо проверить. Вы должны убедиться, что вы добавили функции использования и указали андроид: required = "false" для элементов, таких как камера, которые не требуются для вашего приложения. У меня есть добавить успешно следование приложения Кордова/PhoneGap для поддержки широкого спектра устройств:

<!-- support a wider range of devices by not requiring a camera, gps, microphone or phone --> 
    <uses-feature android:name="android.hardware.camera" android:required="false" /> 
    <uses-feature android:name="android.hardware.location" android:required="false" /> 
    <uses-feature android:name="android.hardware.location.GPS" android:required="false" /> 
    <uses-feature android:name="android.hardware.microphone" android:required="false" /> 
    <uses-feature android:name="android.hardware.telephony" android:required="false" /> 

Кроме того, вы можете проверить Google Play excludes devices и другие аналогичные результаты для вопросов, характерных для Google Nexus 7.

Google указывает, что список поддерживаемых устройств APK можно проверить для фильтрации приложений (http://developer.android.com/distribute/googleplay/quality/tablet.html#google-play): Подтвердить фильтрацию приложения После того, как вы загрузили приложение в консоль разработчика, проверьте список поддерживаемых устройств APK, чтобы убедиться, что приложение не отфильтровано с планшета которые вы хотите настроить.