我的 android 应用程序无法从最新设备上的 Playstore 下载

My android application unable to download from playstore on latest device

我的 android 应用程序无法从 Playstore 下载,但即使在旧版本的移动设备上也可以轻松下载我的应用程序,我使用的是 SDK 版本 28,但在版本 8 的移动设备上无法下载我的应用程序android 应用

我搜索了很多并查看了很多评论,然后我在阅读了有关此的 google 文档后找到了这个稳定的解决方案 如果你有

<application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:appComponentFactory=""
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme"
        tools:replace="android:appComponentFactory">
        <activity android:name="com.travelntime.Splash">

然后改成

<application
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme"
        android:allowClearUserData="true"
        tools:ignore="GoogleAppIndexingWarning"
        android:fullBackupContent="false">
        <activity android:name="com.travelntime.Splash">

并使用

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

如果您要启动activity

等同于:

<activity android:name="com.travelandtime.Splash" android:windowSoftInputMode="adjustPan" android:screenOrientation="portrait">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

问题将解决,如果您关闭 MIUI 优化,它不是一个稳定的解决方案,因此您可以 运行 在您的手机上,但是当您在 playstore 上传 android 应用程序时,您无法安装到用户的手机