谷歌播放说我的应用程序在某些手机上不兼容

时间:2014-02-03 04:58:58

标签: android google-play

我查找了发生这种情况的所有可能性,但没有找到解决办法。我的apk的大小是7MB,安装后应用程序的大小上升到10Mb。我在Raw文件夹中没有笨重的文件,我根本就没有原始文件夹。没有require-true的功能。支持所有密度都是如此。支持所有屏幕都是如此。即便如此,我的应用程序在从某些设备搜索时未列出,并且在其他一些设备上不兼容。为什么会这样?

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

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

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

    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="permission_name" />
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />

    <!--
     The following two permissions are not required to use
     Google Maps Android API v2, but are recommended.
    -->
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

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

    <!-- <uses-feature -->
    <!-- android:glEsVersion="0x00020000" -->
    <!-- android:required="false" /> -->
    <!-- <uses-feature -->
    <!-- android:name="problem feature" -->
    <!-- android:required="false" /> -->

    <application
        android:name="com.application.app.entity.GlobalData"
        android:allowBackup="true"
        android:hardwareAccelerated="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:largeHeap="true"
        android:theme="@style/AppTheme" >
        <meta-data
            android:name="com.google.android.maps.v2.API_KEY"
            android:value="@string/api_key" />
        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />

        <activity
            android:name="org.application.app.squeakee.HomeActivity"
            android:label="@string/app_name"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustNothing" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name="org.application.app.squeakee.SqueakeeMapListViewPager"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustNothing" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        <activity
            android:name="org.application.app.squeakee.ActvityOffersPage"
            android:screenOrientation="portrait" />
        <activity
            android:name="org.application.app.squeakee.MainActivityAlt"
            android:screenOrientation="portrait" />
        <activity
            android:name="org.application.app.squeakee.ListOffers"
            android:screenOrientation="portrait" />
        <activity
            android:name="org.application.app.squeakee.OfferDeatilsActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name="org.application.app.squeakee.MerchantActivity"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="org.application.app.squeakee.ActvityReview"
            android:screenOrientation="portrait" >
            <intent-filter>
                <data
                    android:host="reviewactvity"
                    android:scheme="squeekee-reviewactivity" />

                <action android:name="android.intent.action.VIEW" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        <activity
            android:name="org.application.app.squeakee.ImageDetailActivity"
            android:screenOrientation="portrait"
            android:theme="@style/AppDialog" />
        <activity
            android:name="org.application.app.squeakee.GetDirection"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustNothing|stateHidden" >
            <intent-filter>
                <data
                    android:host="myactivity"
                    android:scheme="squeekee-getDirection" />

                <action android:name="android.intent.action.VIEW" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <receiver android:name="com.commonsware.cwac.updater.WakefulReceiver" />
        <receiver android:name="org.application.app.constant.AlarmSetter" />

        <service android:name="com.commonsware.cwac.updater.UpdateService" />
        <service android:name="org.application.app.squeakee.VersionCheckService" />
        <service android:name="org.application.app.constant.ServiceSense" />

        <activity
            android:name="org.application.app.squeakee.ListOffersoffers"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="org.application.app.squeakee.BecomeAnOfferChampActivity"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="org.application.app.squeakee.ProfileActivity"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="org.application.app.squeakee.ActivityFeedback"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="org.application.app.squeakee.ActivityOfferAlerts"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name="org.application.app.squeakee.ActivityListOfCategories"
            android:screenOrientation="portrait" >
        </activity>
    </application>

</manifest>

1 个答案:

答案 0 :(得分:0)

可能是您正在使用某些地方的片段,例如您使用的谷歌地图,这会使您的应用程序不兼容,因为api版本8不支持它。请参阅此处了解api&lt; 11。

Android - Fragment API for API level < 11

如果您只在谷歌地图中使用片段,那么您可以使用supportfragment。

也在这里阅读。

http://developer.android.com/training/basics/fragments/creating.html