android - 在 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>¸
解决方案
启用所有三个 In Target Architecture ARMv7
, ARM64
,x86
以针对几乎所有设备,因此您会失去很多用户。
推荐阅读
- sql - 如何在 ORM 中转换此 SQL?
- mysql - 如何最好地在 MYSQL 中存储和索引多个整数的所有唯一组合?
- javascript - Fullpage.js 和轮播
- html - Fullcalendar timegrid 插件中的资源之间的差距
- python - 如何使用基于 GPS 的 folium 获得设备用户位置?
- webpack - Webpack 多入口多输出配置
- laravel - 如何向 Fortify 发送 Axios 请求以重置密码
- c# - 如何使用 AES 在 C# 中对称加密和解密某些数据?
- python - 如何使用 Python 复制和粘贴匹配值
- amazon-web-services - 使用 Jenkins 上的 ECS/Fargate 插件在 Fargate 上的一个任务中运行多个容器