App not installed error when using app center distribution for android

Bomber picture Bomber · Jul 19, 2018 · Viewed 7.3k times · Source

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

Answer

btrane picture btrane · Oct 8, 2018

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.