4

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

24
  • any error while downloading?? Jul 23, 2019 at 6:08
  • Its showing that : cant' install, Try again and it still doesn't work Jul 23, 2019 at 6:11
  • when i install it on API level 26 through playstore it easily download but on API level 28 it is unable to isntall Jul 23, 2019 at 6:12
  • check targetSdkVersion in the build.gradle file Jul 23, 2019 at 6:14
  • compileSdkVersion 28 defaultConfig { applicationId "com.travelntour" minSdkVersion 21 targetSdkVersion 28 versionCode 6 versionName "2.3" multiDexEnabled true Jul 23, 2019 at 6:15

1 Answer 1

0

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

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.