Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App not installed error when using app center distribution for android

Keep getting this error when I try to install the downloaded sdk. Any ideas?

The app builds and tests without errors. I get no detailed error message, only App not installed

How can I get a more detailed error message? Any ideas?

My very first build worked, so I guess it could be the version number not matching up. However, I have tried harcoding the number, still won't install:

   defaultConfig {
        applicationId "com.rgcalendar"
        minSdkVersion 16
        targetSdkVersion 22
        versionCode 23
        versionName "1.0"
        ndk {
            abiFilters "armeabi-v7a", "x86"
        }
    }
like image 627
Bomber Avatar asked Jul 19 '18 13:07

Bomber


People also ask

How do I fix an App not installed on Android?

The Android app not installed error can be combated after resetting app permissions. Go to Settings > Apps > Reset App Preferences/Reset Application Permissions. After this, third-party software can be installed on your device.

Why is it saying App not installed?

Insufficient Storage- If your Android device is too full, it causes the package installer to malfunction, leading to the 'App not Installed' pop-up. Even a corrupted Internal Storage Card or an SD card which is not mounted properly may lead to clogged storage and thus give you the App not installed error message.

What causes App not installed on Android?

Corrupted storage, especially corrupted SD Card, is known to cause the Android App isn't installed error. Even the internal storage can get clogged due to unnecessary and unwanted data, some of which might contain an element that disturbs the storage location.


4 Answers

I was running into this issue with an App Center build on a Galaxy S8. I had tried uninstalling the app, restarting the phone and toggling the allow Unknown Sources switch, but the thing that fixed it for me was turning off Play Protect in the Google Play store. While previous builds had asked me to bypass Play Protect, this build just gave me the "App not installed" error.

To turn Play Protect off:

  1. Open the Play Store
  2. Tap the menu in the top left
  3. Tap Play Protect
  4. Turn off Scan device for security threats

You'll probably want to turn this back on if you're using a personal device.

like image 184
btrane Avatar answered Oct 23 '22 23:10

btrane


From: App not installed error on android 11 device from appcenter

Re-uploading the existing keystore on appcenter has resolved the issue

like image 41
NicolasM Avatar answered Oct 23 '22 23:10

NicolasM


android:extractNativeLibs="true"

in AndroidManifest.xml file fixed the problem for me.

<application
    // ...
    android:extractNativeLibs="true"

Notes:

  • I got this error when building with App Center and all the signing was handled by app center.

  • For easier debugging just drag and drop the apk file in the android emulator. Your will get a more detailed message why the app is not installed.

  • Previously I tried all the Play protect things and checked the build.gradle file contains no release info in signingConfigs and that there's no signingConfig in buildTypes.release just as described in the other answers from this page.

  • The fix was suggested to me by the app center support team. They usually respond in less than 8 hours. In my case I got an answers in less than 2h since sending them the email.

  • This question is possibly linked to: How to fix App not installed error in Android

like image 36
Florin Dobre Avatar answered Oct 24 '22 00:10

Florin Dobre


Are you signing the build yourself? If you are, look in the app/build.gradle file.

Search for buildTypes and look at release.

Remove signingConfig signingConfigs.debug.

buildTypes {
    release {
        // Caution! In production, you need to generate your own keystore file.
        // see https://reactnative.dev/docs/signed-apk-android.
        signingConfig signingConfigs.debug // <-- REMOVE THIS LINE
        minifyEnabled enableProguardInReleaseBuilds
        proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
    }
    debug {
        signingConfig signingConfigs.debug
    }
}
like image 42
Karl Gjertsen Avatar answered Oct 23 '22 22:10

Karl Gjertsen