Android Pie - 9 (API 28) : Installing APK .... not successfully installing

12,203

Please follow the below steps to fix the problem..

  1. Go to settings and turn off your Developer Options.
  2. Restart your device.
  3. Go to settings again and turn on your Developer Options back (By hitting the Build Number multiple times).

Now you are able to install APKs from your Android Studio as you were earlier. Restarting the device is optional but better do that.

Share:
12,203
Tarun Dholakiya
Author by

Tarun Dholakiya

Updated on June 04, 2022

Comments

  • Tarun Dholakiya
    Tarun Dholakiya almost 2 years

    Recently I have updated OS to Android 9(Pie) and found that Whenever I try to install APK from android studio it does not work.

    As it just shows "Installing Apk..." and freezes at that point, After waiting too long it shows "Application Installation Failed" with "Installation failed with message null."

    Did anyone else is facing this issue? If yes then help, please.

    Here is the attached screenshot.

    enter image description here

    Device and Enviornment Details :

    Device : MI A1

    Android Studio : 3.2.1

    Any Help, Idea, Suggestion will be highly appreciated.

    • kuber singh
      kuber singh over 5 years
      is device not showing up or apk not installing (if not installing than check min sdk version)
    • Darish
      Darish over 5 years
      does your device have multiple user accounts?
    • Tarun Dholakiya
      Tarun Dholakiya over 5 years
      No multiple user account, device is showing up, min sdk version is : 16
    • Ali
      Ali over 5 years
      before update 9(Pie). you install this app in your phone ???
    • Tarun Dholakiya
      Tarun Dholakiya over 5 years
      Yes, before the update it was working fine.
    • Ali
      Ali over 5 years
      Okay go on Setting->app and check this app uninstall for all user or not. And also try to restart your device and re-install the app @TarunDholakiya
    • Tarun Dholakiya
      Tarun Dholakiya over 5 years
      uninstalled for all user still does not works
    • Ali
      Ali over 5 years
      Try to restart your phone and install.
    • Tarun Dholakiya
      Tarun Dholakiya over 5 years
      Android Studio Restart, Device Restart, Build Project, Clean Project, Invalidate caches and Restart nothing works in this case.
    • Darish
      Darish over 5 years
      try changing the application id and see if that works
    • karan
      karan over 5 years
      after attaching device try killing adb server and start it again.
    • Tarun Dholakiya
      Tarun Dholakiya over 5 years
      If anybody have android 9, can you please try on your device with any sample project by doing simple installation from android studio.
    • Geno Chen
      Geno Chen over 5 years
      Is there any logcat about instaling?
    • Tarun Dholakiya
      Tarun Dholakiya over 5 years
      I m getting below lines in logcat 12/28 17:32:44: Launching app $ adb install-multiple -r -t D:\Tarun_Workplace\DemosAndExamples\gps-app\app\build\interm‌​ediates\split-apk\de‌​bug\slices\slice_8.a‌​pk D:\Tarun_Workplace\DemosAndExamples\gps-app\app\build\interm‌​ediates\instant-run-‌​apk\debug\app-debug.‌​apk
    • Tarun Dholakiya
      Tarun Dholakiya over 5 years
      There is too long logcat could not post whole but all lines shows the slice_"number".apk
    • nimi0112
      nimi0112 over 5 years
      @TarunDholakiya do InvalidateCashes/Restart in Android studio