-2

我在 google play 中发布了一个应用程序,但我无法使其与 android 2.3 设备兼容。示例:如果我尝试使用带有 android 4.1 的 Samsung Galaxy s2 下载我的应用程序一切正常,但当我尝试使用同一设备但使用 android 2.3.3 下载我的应用程序时,谷歌播放告诉我:“应用程序与此不兼容版本”。我检查了我的清单(android:minSdkVersion="9 android:targetSdkVersion="17"),我没有发现任何问题......我必须做什么......谢谢

这是我的清单:

<?xml version="1.0" encoding="utf-8"?>
<!-- n.b. android:installLocation="auto" Enable the user to save the App either on the Phone internal memory or on the SD card -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.t3lab.nolan"
    android:installLocation="auto"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-permission android:name="android.permission.BLUETOOTH" />
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />
    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />

    <uses-sdk

        android:minSdkVersion="9"
        android:targetSdkVersion="17" />

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

    <uses-feature
        android:name="android.hardware.touchscreen.multitouch"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.touchscreen"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.faketouch"
        android:required="true" />




    <application
        android:allowBackup="true"
        android:icon="@drawable/launcher_icon"
        android:label="@string/app_name" >
        <activity
            android:name="com.t3lab.nolan.Activity_A2dp"
            android:label="@string/A2DP_Title_Activity"
            android:launchMode="singleTask" >
        </activity>
        <activity
            android:name="com.t3lab.nolan.Activity_B2b"
            android:label="@string/BikeToBike_Title_Activity"
            android:launchMode="singleTask" >
        </activity>
        <activity
            android:name="com.t3lab.nolan.Activity_End"
            android:label="@string/End_Title_Activity"
            android:launchMode="singleTop"
            android:screenOrientation="portrait" >
        </activity>

        <activity
            android:name="com.t3lab.nolan.Activity_Keypad"
            android:label="@string/Keypad_Title_Activity"
            android:launchMode="singleTask" >
        </activity>
        <activity
            android:name="com.t3lab.nolan.Activity_Login"
            android:label="@string/login_Title_Activity"
            android:screenOrientation="portrait" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />


                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name="com.t3lab.nolan.Activity_Main"
            android:label="@string/Main_Title_Activity"
            android:launchMode="singleTask" >
        </activity>
        <activity
            android:name="com.t3lab.nolan.Activity_Phone"
            android:label="@string/Phone_Title_Activity"
            android:launchMode="singleTask" >
        </activity>
        <activity
            android:name="com.t3lab.nolan.Activity_Presentation"
            android:label="@string/Presentation_Title_Activity"
            android:launchMode="singleTask"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.t3lab.nolan.Activity_Radio"
            android:label="@string/Radio_Title_Activity"
            android:launchMode="singleTask" >
        </activity>
        <activity
                android:name="com.t3lab.nolan.Activity_Reconnecting"
                android:label="@string/Reconnecting_Title_Activity"

                android:screenOrientation="portrait" >
        </activity>
        <activity
                android:name="com.t3lab.nolan.Activity_Retry"
                android:label="@string/Retry_Title_Activity"

                android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.t3lab.nolan.Activity_Showing_Device"
            android:label="@string/ShowingDevice_Title_Activity"
            android:launchMode="singleTask"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.t3lab.nolan.FrameActivity_Settings"
            android:label="@string/Fragment_Title_Activity"
            android:launchMode="singleTask"
            android:screenOrientation="portrait" >
        </activity>

        <service
            android:name="com.t3lab.nolan.Service_Bluetooth"
            android:enabled="true" />
    </application>

</manifest>
4

2 回答 2

1

改变这个:

<uses-sdk

        android:minSdkVersion="9"
        android:targetSdkVersion="17" />

<uses-sdk

        android:minSdkVersion="8"
        android:targetSdkVersion="17" />
于 2013-11-06T10:49:51.003 回答
0
<uses-sdk

        android:minSdkVersion="8"
        android:targetSdkVersion="18" />

使用版本 8 的最低 sdk 版本并将目标 sdk 设置为 18(最新)以运行您的应用程序

于 2013-11-06T10:52:12.597 回答