为什么应用程序与Samsung S5(屏幕尺寸5.1)不兼容,即使Google Play列出它兼容

时间:2015-01-03 09:54:23

标签: android

您好我想知道为什么Google Play会在Samsung S5上显示“您的设备与此版本不兼容”

当我看到开发者控制台时,它显示该应用程序与Samsung S5和Nexus 5,6等兼容。

<?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.example"
        android:versionCode="1"
        android:versionName="1.0" >

        <permission
            android:name="com.example.demo.permission.MAPS_RECEIVE"
            android:protectionLevel="signature" />

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

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

        <permission
            android:name="com.example.demo.permission.C2D_MESSAGE"
            android:protectionLevel="signature" />

        <uses-permission android:name="android.permission.GET_ACCOUNTS" />
        <uses-permission android:name="android.permission.WAKE_LOCK" />
        <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
        <uses-permission android:name="com.example.demo.permission.C2D_MESSAGE" />
        <uses-permission android:name="android.permission.CAMERA" />
        <uses-permission android:name="android.permission.INTERNET" />
        <uses-permission android:name="android.permission.VIBRATE" />
        <uses-permission android:name="android.permission.FLASHLIGHT" />
        <uses-permission android:name="android.permission.READ_CONTACTS" />
        <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS" />
        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
        <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
        <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
        <uses-permission android:name="com.example.demo.permission.MAPS_RECEIVE" />
        <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
        <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
        <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
        <uses-permission android:name="android.permission.SEND_SMS" />
        <uses-permission android:name="com.android.email.permission.ACCESS_PROVIDER" />
        <uses-permission android:name="com.android.email.permission.READ_ATTACHMENT" />
        <uses-permission android:name="com.google.android.gm.permission.READ_GMAIL" />
        <uses-permission android:name="com.google.android.gm.permission.WRITE_GMAIL" />
        <uses-permission android:name="com.google.android.providers.gmail.permission.READ_GMAIL" />
        <uses-permission android:name="com.google.android.providers.gmail.permission.WRITE_GMAIL" />
        <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
        <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

        <uses-sdk
            android:minSdkVersion="9"
            android:targetSdkVersion="17" />

        <!-- Don't require camera, as this requires a rear camera. This allows it to work on the Nexus 7 -->
        <uses-feature
            android:name="android.hardware.camera"
            android:required="false" />
        <uses-feature
            android:name="android.hardware.camera.front"
            android:required="false" />
        <uses-feature
            android:name="android.hardware.camera.autofocus"
            android:required="false" />
        <uses-feature
            android:name="android.hardware.camera.flash"
            android:required="false" />
        <uses-feature android:name="android.hardware.screen.landscape" />
        <uses-feature
            android:name="android.hardware.wifi"
            android:required="false" />
        <uses-feature
            android:name="android.hardware.touchscreen"
            android:required="false" />

        <application
            android:allowBackup="true"
            android:icon="@drawable/ic_launcher"
            android:label="@string/app_name"
            android:theme="@style/AppTheme" 
            android:largeHeap="true">

            // here activies, receivers, services

        </application>

    </manifest>

提前致谢。

2 个答案:

答案 0 :(得分:0)

Samsung Galaxy S5有多个版本。您可以查看已经接受的手机,您会发现已经接受的同一部手机的多个版本。也许这个版本缺少你获得许可的东西。

答案 1 :(得分:0)

尝试更改

    <uses-feature android:name="android.hardware.screen.landscape" />

    <uses-feature android:name="android.hardware.screen.landscape" android:required="false"  />

这是唯一需要实现的功能。 我在Galaxy S5 ATT上看不到这个功能