某些设备不支持应用程序

时间:2014-04-23 06:56:30

标签: android google-play

我的应用程序不支持特定的Android设备(三星Galaxy Tab 3 10.1 P5210),但它支持其他10英寸平板电脑。我无知为何发生这种情况。可能是什么原因?

客户端有上述平板电脑,我的应用程序没有在他的商店上市。

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

    <uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="19" />

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

    <uses-permission android:name="com.example.app.permission.MAPS_RECEIVE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="android.permission.GET_TASKS" />
    <uses-permission android:name="com.android.vending.BILLING" />

    <!-- Permissions for GCM -->
    <permission
        android:name="com.example.app.permission.C2D_MESSAGE"
        android:protectionLevel="signature" />

    <uses-permission android:name="com.example.app.permission.C2D_MESSAGE" />
    <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />

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

    <application
        android:allowBackup="true"
        android:icon="@drawable/app_logo"
        android:label="@string/app_name"
        android:theme="@style/Theme.AppCompat.Light" >

        <uses-library android:name="com.google.android.maps" />

        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />
        <meta-data
            android:name="com.google.android.maps.v2.API_KEY"
            android:value="XYZ" />
        <meta-data
            android:name="com.facebook.sdk.ApplicationId"
            android:value="@string/app_id" />

        <!-- Services and receivers for GCM -->
        <receiver
            android:name="com.google.android.gcm.GCMBroadcastReceiver"
            android:permission="com.google.android.c2dm.permission.SEND" >
            <intent-filter>
                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
                <action android:name="com.google.android.c2dm.intent.REGISTRATION" />

                <category android:name="com.example.app" />
            </intent-filter>
        </receiver>
        <receiver
            android:name="com.example.app.FFHBroadcastReceiver"
            android:permission="com.google.android.c2dm.permission.SEND" >
            <intent-filter>
                <action android:name="zecross.ffh.broadcastReceiver" />
            </intent-filter>
        </receiver>
        <receiver android:name="com.example.app.NetworkStateChangeListener" >
            <intent-filter>
                <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
                <!-- <action android:name="android.net.wifi.WIFI_STATE_CHANGED" /> -->
            </intent-filter>
        </receiver>

        <service android:name="com.example.app.GCMIntentService" />

        <activity
            android:name="com.example.app.MainActivity"
            android:label="@string/app_name"
            android:screenOrientation="portrait" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name="com.example.app.SwipingTaskDetails_Activity"
            android:label="@string/title_activity_task_details"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.example.app.PostTask"
            android:label="@string/title_activity_task_posttask"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.facebook.LoginActivity"
            android:label="@string/app_name"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.example.app.TasksForHire_Activity"
            android:alwaysRetainTaskState="True"
            android:label="@string/title_activity_tasks_for_hire"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.example.app.SideMenu"
            android:label="@string/app_name"
            android:noHistory="true"
            android:screenOrientation="portrait"
            android:theme="@style/TranslucentActionBar" />
        <activity
            android:name="com.example.app.MyTasks_Activity"
            android:label="@string/title_activity_my_tasks"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.example.app.SingleTaskDetails_Activity"
            android:label="@string/title_activity_task_details"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.example.app.Filter_Activity"
            android:label="@string/title_activity_filter"
            android:screenOrientation="portrait"
            android:theme="@style/TranslucentActionBar"
            android:windowSoftInputMode="adjustPan|stateHidden" >
        </activity>
        <activity
            android:name="com.example.app.TasksForMe_Activity"
            android:label="@string/title_activity_tasks_for_me"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.example.app.TaskDiscuss_Activity"
            android:label="@string/title_activity_task_discuss"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.example.app.Errand"
            android:label="@string/title_activity_task_errand"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustPan" />
        <activity
            android:name="com.example.app.Sitter"
            android:label="@string/title_activity_task_sitter"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustPan" />
        <activity
            android:name="com.example.app.AdviceLessonsTutor"
            android:label="@string/title_activity_task_tutor"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustPan" />
        <activity
            android:name="com.example.app.Handyman"
            android:label="@string/title_activity_task_handyman"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustPan" />
        <activity
            android:name="com.example.app.Cleaning"
            android:label="@string/title_activity_task_cleaning"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustPan" />
        <activity
            android:name="com.example.app.VirtualTask"
            android:label="@string/title_activity_task_virtual_task"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustPan" />
        <activity
            android:name="com.example.app.AnythingGoes"
            android:label="@string/title_activity_task_anything_goes"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustPan" />
        <activity
            android:name="com.example.app.ItemsAndServicesForSale"
            android:label="@string/title_activity_task_items_sale"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustPan" />
        <activity
            android:name="com.example.app.MyTaskInteraction_Activity"
            android:label="@string/title_activity_my_task_interaction"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.example.app.LocateVenueCE"
            android:label="@string/title_activity_locate_venue"
            android:noHistory="true"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.example.app.LocationFilter"
            android:label="@string/title_activity_location_filter"
            android:screenOrientation="portrait"
            android:theme="@style/TranslucentActionBar"
            android:windowSoftInputMode="adjustPan|stateHidden" >
        </activity>
        <activity
            android:name="com.example.app.SocialActivity"
            android:label="@string/title_activity_social"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustPan|stateHidden" >
        </activity>
        <activity
            android:name="com.example.app.ContactsList"
            android:label="@string/title_activity_phone_contact_list"
            android:noHistory="true"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustPan|stateHidden" >
        </activity>
        <activity
            android:name="com.example.app.Chat_Activity"
            android:label="@string/title_activity_chat_activity"
            android:noHistory="true"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="stateHidden" >
        </activity>
        <activity
            android:name="com.example.app.UserFBProfile"
            android:label="@string/title_activity_user_fbprofile"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.example.app.MyAccount"
            android:label="@string/title_activity_my_account"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.example.app.NotificationSettings"
            android:label="@string/title_activity_notification_settings"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.example.app.Preferences"
            android:label="@string/title_activity_preferences"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.example.app.ActivityNotifications"
            android:label="@string/title_activity_notifications"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.example.app.Notifications_Activity"
            android:label="@string/title_activity_notifications"
            android:noHistory="true"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.example.app.NoInternetActivity"
            android:label="@string/title_activity_no_internet"
            android:launchMode="singleTop"
            android:screenOrientation="portrait"
            android:theme="@style/TranslucentActionBar" >
        </activity>
        <activity
            android:name="com.example.app.InAppPurchases"
            android:label="@string/title_activity_in_app_purchases"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="com.example.app.Blocked_Activity"
            android:label="@string/title_activity_blocked"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.example.app.SendFeedback"
            android:label="@string/title_activity_send_feedback"
            android:screenOrientation="portrait" />
        <activity
            android:name="com.example.app.My_Ratings"
            android:label="@string/title_activity_my_ratings"
            android:screenOrientation="portrait" />
    </application>

</manifest>

3 个答案:

答案 0 :(得分:0)

在您的清单中,您指定您的应用需要openGL ES 2.0:

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

因此它只能在那些设备上运行。

除了Android版本之外,这是唯一的要求,因此我想你的三星Galaxy Tab 3没有。

此外,您可能希望将包名称从com.example.app更改为其他内容。

答案 1 :(得分:0)

问题在于相机权限。当我删除该权限后,我的客户端标签就开始支持该应用。但我仍然觉得奇怪,因为标签有前后摄像头。

答案 2 :(得分:0)

尝试根据需要添加相机权限,并在清单上指定允许的屏幕尺寸。我建议您在uses-permissions标记下添加此代码,例如...

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

希望它有所帮助!