增加Google Play商店的兼容性列表

时间:2016-07-26 13:13:57

标签: android cordova ionic-framework android-manifest

我发布的应用仅支持349台设备。我非常想扩展它。我意识到16的最小sdk版本否定了相当多的数字。我的AndroidManifest中还有什么可以改变,可能会大大增加覆盖范围吗?例如,它不支持运行Android 6.0.1的Nexus 5x。我非常想知道原因。还可以在不更新/版本化应用程序的情况下更新清单吗?

    <?xml version="1.0" encoding="UTF-8"?>
    <manifest android:versionName="0.0.11" android:versionCode="114" android:hardwareAccelerated="true" package="com.theexample.example" xmlns:android="http://schemas.android.com/apk/res/android">
    <uses-sdk android:targetSdkVersion="23" android:minSdkVersion="16"/>
    <supports-screens android:xlargeScreens="true" android:smallScreens="true" android:resizeable="true" android:normalScreens="true" android:largeScreens="true" android:anyDensity="true"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.WAKE_LOCK"/>
    <uses-permission android:name="android.permission.VIBRATE"/>
    <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
    <permission android:name="com.theexample.example.permission.C2D_MESSAGE" android:protectionLevel="signature"/>
    <uses-permission android:name="com.theexample.example.permission.C2D_MESSAGE"/>
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
    <application android:hardwareAccelerated="true" android:supportsRtl="true" android:label="@string/app_name" android:icon="@drawable/icon">
    <activity android:name="com.theexample.example.MainActivity" android:label="@string/activity_name" android:windowSoftInputMode="adjustResize" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:screenOrientation="portrait" android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale">
    <intent-filter android:label="@string/launcher_name">
    <action android:name="android.intent.action.MAIN"/>
    <category android:name="android.intent.category.LAUNCHER"/>
    </intent-filter>
    </activity>
    <activity android:name="com.adobe.phonegap.push.PushHandlerActivity" android:exported="true"/>
    <receiver android:name="com.adobe.phonegap.push.BackgroundActionButtonHandler"/>
    <receiver android:name="com.google.android.gms.gcm.GcmReceiver" android:exported="true" android:permission="com.google.android.c2dm.permission.SEND">
    <intent-filter>
    <action android:name="com.google.android.c2dm.intent.RECEIVE"/>
    <category android:name="com.theexample.example"/>
    </intent-filter>
    </receiver>
    <service android:name="com.adobe.phonegap.push.GCMIntentService" android:exported="false">
    <intent-filter>
    <action android:name="com.google.android.c2dm.intent.RECEIVE"/>
    </intent-filter>
    </service>
    <service android:name="com.adobe.phonegap.push.PushInstanceIDListenerService" android:exported="false">
    <intent-filter>
    <action android:name="com.google.android.gms.iid.InstanceID"/>
    </intent-filter>
    </service>
    <service android:name="com.adobe.phonegap.push.RegistrationIntentService" android:exported="false"/>
    <activity android:name="com.google.android.gms.common.api.GoogleApiActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar" android:exported="false"/>
    <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
    <provider android:name="com.google.firebase.provider.FirebaseInitProvider" android:exported="false" android:initOrder="100" android:authorities="com.theexample.example.firebaseinitprovider"/>
    </application>
    </manifest>

1 个答案:

答案 0 :(得分:0)

问题出现了,因为我无意中为x86构建了安装。我修改了build.gradle文件设置ext.cdvBuildMultipleApks = false并重建它。