简体   繁体   中英

App not installing in some devices from play store

I have an app published in Beta. It's not installing in some of the Redmi and Samsung devices. The app is getting download from the play store and while installing it shows an error dialog " Can't install the app , Try again, if it still doesn't work. see the common ways to fix the problem. "

在此处输入图像描述

There can be two cases :

  1. You're trying to install incompatible APK.
  2. Play Protect had flagged your apk.

If you're sure about the compatibility (min api version, abi's etc) of your apk then You can try to disable PlayProtect and then install your apk.

*Beware PlayProtect is an Essential feature and one of the ways in which Google is trying to stop malware and harmful apps on the Android platform, So make sure you are installing a trusted APK

Common cases, the app is not supporting devices in 64-bit. Check with one of the devices if it is 64bit and if your build.gradle file is having below:

Most Android Studio projects use Gradle as the underlying build system, so this section applies to both cases. Enabling builds for your native code is as simple as adding the arm64-v8a and/or x86_64, depending on the architecture(s) you wish to support, to the ndk.abiFilters setting in your app's 'build.gradle' file:

// Your app's build.gradle
apply plugin: 'com.android.app'

android {
   compileSdkVersion 27
   defaultConfig {
       appId "com.google.example.64bit"
       minSdkVersion 15
       targetSdkVersion 28
       versionCode 1
       versionName "1.0"
       ndk.abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
// ...

Check for reference below:

How to make Android apps which support both 32-bit and 64-bit architecture?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM