Google Play - 您的设备与此版本不兼容 - 华硕Transformer TF101

时间:2014-01-10 15:00:00

标签: android google-play android-manifest

在我的ASUS Transformer平板电脑上在Google Play中查看我的应用时,我看到以下消息

Your device isn't compatible with this version

这是我的清单文件。

<?xml version='1.0' encoding='utf-8'?>
<manifest android:hardwareAccelerated="true" 
    android:versionCode="3" 
    android:versionName="1.0.2" 
    android:windowSoftInputMode="adjustPan" 
    package="com.sheffieldlentinepc.sentenceestimator" 
    xmlns:android="http://schemas.android.com/apk/res/android">

    <supports-screens 
        android:anyDensity="true" 
        android:largeScreens="true" 
        android:normalScreens="true" 
        android:resizeable="true" 
        android:smallScreens="true" 
        android:xlargeScreens="true" />

    <uses-permission android:name="android.permission.INTERNET" />

    <!-- Required permission to check licensing. -->
    <uses-permission android:name="com.android.vending.CHECK_LICENSE" />

    <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="18" />

    <application
         android:hardwareAccelerated="true"
          android:icon="@drawable/icon" 
          android:label="@string/app_name">

        <activity 
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"
            android:label="@string/app_name"
            android:name="SentenceEstimator"
            android:theme="@android:style/Theme.Black.NoTitleBar"
            android:screenOrientation="portrait">

            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>

        </activity>

    </application>

</manifest>

我的清单中是否有任何可能导致此设备不兼容的内容?

1 个答案:

答案 0 :(得分:1)

好的我明白了!我的情况:

最初是仅限手机的应用

重新设计用于平板电脑优化

我认为将此权限标记为required="false"是我所需要的,因为平板电脑没有手机。 <uses-permission android:name="android.permission.CALL_PHONE" **android:required="false"** />

我的困惑是<uses-permission/><uses-feature/>在我第十次读到它之后我终于抓住了它。 http://developer.android.com/distribute/googleplay/quality/tablet.html#hardware-requirements

我需要在我的清单中明确添加<uses-feature android:name="android.hardware.telephony" android:required="false" />

上传到开发者控制台,你应该看到支持的设备的数量&#34;在我的情况下跳转,541个设备。

当然,如果您有需要使用手机的功能,则需要在运行时为没有手机的设备正确处理。

向清单添加<uses-feature android:name="android.hardware.telephony" android:required="false" />也为您的AsusTransformer TF101G添加了支持!

我希望这有助于其他人!

相关问题