Google Play没有显示支持的设备



我开发了一款仅在Nexus 7上运行的应用程序(目前),似乎无法确定需要哪种参数组合才能获得注意——仅注意Nexus 7,但注意Google Play支持的任何设备。

我只测试了一个USB连接的物理Nexus 7,它在纵向和横向模式下都能很好地工作。

我只包含了Android Manifest XML的最后一次尝试。

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.xxx.xxx"
    android:versionCode="7"
    android:versionName="0.7" >
    <uses-sdk
        android:minSdkVersion="17"
        android:targetSdkVersion="18" />
    <supports-screens 
        android:anyDensity="true"
        android:normalScreens="true"
        android:largeScreens="true" 
        android:xlargeScreens="true" >
    </supports-screens> 

    <uses-feature android:name="android:glEsVersion=0x00020000"
                  android:required="true" />
    <uses-feature android:name="android.hardware.camera" android:required="false" />
    <application
        android:allowBackup="true"
        android:hardwareAccelerated="true"
        android:icon="@drawable/ow_icon"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name="com.xxx.xxx.MainActivity"
            android:configChanges="orientation|screenSize"
            android:clearTaskOnLaunch="true"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>

如有任何帮助,我们将不胜感激。

好吧,你的minsdk版本是17,对应于android 4.2+。目前它只在一小部分设备上运行!

从清单中删除以下代码后

 <uses-feature android:name="android:glEsVersion=0x00020000"
              android:required="true" />

然后我支持了数千台设备。由于我只想要Nexus 7(我最初的版本),我更改了"支持屏幕"部分,并在清单中添加了"使用功能"行。

<supports-screens
    android:smallScreens="false"
    android:normalScreens="false"
    android:largeScreens="true"
    android:xlargeScreens="true" >
</supports-screens>
<uses-feature android:name="android.hardware.telephony" android:required="false" />

上述更改允许我的应用程序在7英寸和10英寸的设备上运行。

最新更新