Search code examples
androidstoreplaybackandroid-app-bundle

My android application unable to download from playstore on latest device


My android application is unable to download from the playstore but even on old versions mobile can easily download my app, I have used the SDK version 28 but on the mobile device which have version 8 cant download my android app


Solution

  • i have searched alot and check many reviews and then i found after reading the google documentation regarding this then i got this stable solution if you have the

    <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">
    

    then change it to

    <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">
    

    and also use

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

    as in case which activity you are launching

    as same as:

    <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>
    

    issue will resolve, if You are doing off the MIUI optimization its not a stable solution , due to this you can run on your mobile but when you upload android app on playstore then you can't install in user's mobile