首页 > 解决方案 > 在 google play store 上增加新应用程序的 android 应用程序兼容性

问题描述

我最近(几周前)在 Google Play 上发布了一个应用程序(https://play.google.com/store/apps/details?id=com.kfm.Cugopol)并与我的朋友分享。不幸的是,他们的许多设备与应用程序版本不兼容。我用谷歌搜索了一个解决方案,发现谷歌改变了他们的政策,新的应用程序只能安装在 Android 8.0 及更高版本上。有什么方法可以使应用程序与这些设备兼容。

在谷歌播放控制台上,我得到了 3445/13000 台设备,这还不错,但我想增加这个数字。我尝试在 Unity 中更改播放器设置中的 API 级别并更改 android 清单以使其与其他屏幕尺寸兼容,但没有区别。提前感谢所有答案。

这是我的清单文件。未注释时,注释部分实际上减少了兼容设备的数量。

<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.kfm.Cugopol" xmlns:tools="http://schemas.android.com/tools" android:installLocation="preferExternal">
  <supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
  <!-- compatible-screens>
    <all small size screens
    <screen android:screenSize="small" android:screenDensity="ldpi" />
    <screen android:screenSize="small" android:screenDensity="mdpi" />
    <screen android:screenSize="small" android:screenDensity="hdpi" />
    <screen android:screenSize="small" android:screenDensity="xhdpi" />
    <all small size screens
    <screen android:screenSize="normal" android:screenDensity="ldpi" />
    <screen android:screenSize="normal" android:screenDensity="mdpi" />
    <screen android:screenSize="normal" android:screenDensity="hdpi" />
    <screen android:screenSize="normal" android:screenDensity="xhdpi" />
    <all small size screens
    <screen android:screenSize="large" android:screenDensity="ldpi" />
    <screen android:screenSize="large" android:screenDensity="mdpi" />
    <screen android:screenSize="large" android:screenDensity="hdpi" />
    <screen android:screenSize="large" android:screenDensity="xhdpi" />
    <all normal size screens
    <screen android:screenSize="xlarge" android:screenDensity="ldpi" />
    <screen android:screenSize="xlarge" android:screenDensity="mdpi" />
    <screen android:screenSize="xlarge" android:screenDensity="hdpi" />
    <screen android:screenSize="xlarge" android:screenDensity="xhdpi" />
  </compatible-screens> !-->
  <application android:theme="@style/UnityThemeSelector" android:icon="@mipmap/app_icon" android:label="@string/app_name">
    <activity android:name="com.unity3d.player.UnityPlayerActivity" android:label="@string/app_name" android:screenOrientation="sensorPortrait" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density" android:hardwareAccelerated="false">
      <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
      <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
      <meta-data android:name="android.notch_support" android:value="true" />
    </activity>
    <meta-data android:name="unity.build-id" android:value="227e5310-1392-471e-8e15-ce7701fd0b5e" />
    <meta-data android:name="unity.splash-mode" android:value="0" />
    <meta-data android:name="unity.splash-enable" android:value="True" />
    <meta-data android:name="notch.config" android:value="portrait|landscape" />
  </application>
  <uses-feature android:glEsVersion="0x00020000" android:required="false"/>
  <uses-feature android:name="android.hardware.vulkan" android:required="false" />
  <uses-permission android:name="android.permission.INTERNET" />
  <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
  <uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="false" />
  <uses-feature android:name="android.hardware.touchscreen.multitouch.distinct" android:required="false" />
</manifest>¸

这是我的播放器设置

标签: androidunity3dgoogle-play

解决方案


启用所有三个 In Target Architecture ARMv7 , ARM64x86以针对几乎所有设备,因此您会失去很多用户。


推荐阅读