【问题标题】:Google Play - Your device isn't compatible with this version - ASUS Transformer TF101Google Play - 您的设备与此版本不兼容 - ASUS Transformer TF101
【发布时间】:2014-01-10 15:00:00
【问题描述】:

在我的 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>

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

【问题讨论】:

    标签: android google-play android-manifest


    【解决方案1】:

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

    原本只有手机的应用

    针对平板电脑优化重新设计

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

    我的困惑是&lt;uses-permission/&gt;&lt;uses-feature/&gt; 在阅读了第十次之后我终于明白了。 http://developer.android.com/distribute/googleplay/quality/tablet.html#hardware-requirements

    我需要明确地将&lt;uses-feature android:name="android.hardware.telephony" android:required="false" /&gt; 添加到我的清单中。

    上传到开发者控制台,您应该会看到“支持的设备”数量激增,在我的例子中是 541 台设备。

    当然,如果您有需要手机使用的功能,您需要在运行时对没有手机的设备进行适当的处​​理。

    在清单中添加 &lt;uses-feature android:name="android.hardware.telephony" android:required="false" /&gt; 也增加了对 AsusTransformer TF101G 的支持!

    我希望这对其他人有帮助!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-08-25
      • 1970-01-01
      • 2015-08-06
      • 1970-01-01
      • 2018-07-30
      相关资源
      最近更新 更多