Thursday, November 2, 2017

Installation failed with message INSTALL_CANCELED_BY_USER -- ERROR FIXING - 2

Installation failed with message INSTALL_CANCELED_BY_USER:

Hi Android Guys !

Some times we tried to run the android studio project but we get the following error.





Solution

Installation failed with message INSTALL_CANCELED_BY_USER. It is possible that this issue
is resolved by uninstalling an existing version of the apk if it is present, and then re-installing

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)

1 comment: