Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installation error: Unknown failure

Tags:

android

I just opened a new Android project thorugh eclipse, I want the application to run on my samsung galaxy s4 which has KitKat 4.4.2 on it, so I opened the project so as Target SDK is 5.0.1 and the compilation will be done with 4.4.2, just when the project opens I get errors, i fixed it by accesing both appcompat and the projects project.properties and changing the target to apk-21. the errors vanish. But ! when I try to debug with my phone or with the emulator it fails, - Installation error: Unknown failure - thats the error, as I looked through the web I saw many people that get through this problem and non of the solutions was posted solved my problem. I will be really glad if someone could help me solve this annoying thing. Thank! !

like image 438
sitoNz Avatar asked Dec 29 '25 08:12

sitoNz


1 Answers

I had the similar kind of issue and I have resolved the issue following the steps below:

  1. File >> Settings >> Build, Execution, Deployment.

  2. Next click on Instant Run and uncheck "Enable Instant Run to hot swap code/resource changes on deploy".

  3. Apply and OK.

Try building the app again now. It should work now. Enable the Instant Run feature again if you want to.

like image 91
Animesh Patra Avatar answered Dec 31 '25 23:12

Animesh Patra