Android Studio: Application Installation Failed
Solution 1
I'm Using Redmi 3s mobile. I got same problem.
Solution: This issue is common on Xiaomi phones running MIUI 8. This can resolved by turning off MIUI optimizations from Developer Options in Settings app. Then recompile the app and voila it works.
Settings --> Additional settings --> Developer options --> Turn Off MIUI optimization
Or
Settings --> Developer options --> Turn Off MIUI optimization
Solution 2
I got the same problem , just choose clean project then rebuild project from build menu , it's solved my problem
Solution 3
Disable Instant Run
Preferences > Build, Execution, Deployment > Instant Run
Source: comment by @user77309
Solution 4
Path: Android Studio Preference / Build, Execution, Deployment / Instant Run
Go to Android Studio Preference (for Mac) or Settings (for windows)
Choose Build, Execution, Deployment tab
Choose Instant Run
Uncheck Enable Instant Run to hot swap code/resources changes on deply (default enabled)
It works for me!!
Solution 5
Go to Settings > Applications. Probably you have the app still installed for other users (I had the same problem with a Moto G, I did not see the app among other apps, but it still was among my apps in Settings). Try to find it and remove for all users.
If the problem is this one you will find the app at the end of the list (in Settings > Apps > All)
All the apps marked as "Not installed" are still there and you can not install the same apps with Android Studio until they are there
Related videos on Youtube
Merlin
Updated on November 17, 2020Comments
-
Merlin over 3 years
I've been trying to learn how to use Android Studio but when I attempted to run one of the sample programs I get this error message:
Installation failed with message null. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?
I've tried to do this on 5 more sample programs and all of them give me this error. Does anyone know how to solve this?
-
IntelliJ Amiya over 8 yearswhat is Do you want to uninstall the existing application?
-
IntelliJ Amiya over 8 yearsPlease uninstall existing app
-
Merlin over 8 yearsUninstall the existing package is only for the emulated Android Device, this does not solve the issue as I tried multiple times.
-
Sameer Donga over 8 yearsUninstall your old app or change app version from manifest file which was in last app which is installed in you device.
-
Halfacht almost 7 yearsThis eror happenes with a new installation of Android Studio aswell, while using the standard AVD.
-
-
Yaron Recher about 8 yearsIt was fixed on version 'com.google.android.gms' version 8.4.0
-
dsdsdsdsd about 8 yearsI don't know if this solved my problem, but I was surprised to see several old test versions that I have been working with over the last 2 weeks still sitting in the list ... +1 ...
-
Zax about 7 yearsThis solution must be for all the MI Mobile phones. After turning off the MIUI optimizations and restarting the device i was able to debug the app on my Mi Note - 3 device.
-
GhostCat over 6 yearsI seriously doubt that such problems can be "solved" this way.
-
Ado over 6 years@GhostCat According all the answers for this problem,I think this prolem cause by AS build system or Custom Android OS.Clean,Rebuild,and disable Instant Run can effective.But my case solve by Enable Instant Run.and when I disable Instant Run ,the problem appears again. Enviroment:AS 3.0Beata5.Android 5.0.2
-
Shailendra Madda over 6 yearsBut in my case it is turned off but still getting same issue.. I am using MIUI version 8.5.7.0, Any suggestion?
-
Shailendra Madda over 6 yearsWhen I trying to turn on Install via USB .. After loading it saying that "The mobile is temporary ristricted"
-
Makvin over 6 years@Shylendra Madda is there a mi phone you use to install app?
-
Shailendra Madda over 6 yearsYes I am using Mi phone only
-
Mester Hassan over 5 yearsD'ont work on BlueStacks! when I want to run my apps on it from Android Studio.
-
Ashik Azeez about 5 yearsI got this problem in Samsung J7 Core(Oreo)
-
btraas about 4 years@AshikAzeez do you happen to have this app set up in the secure folder or dual messenger?