Adb install failure: INSTALL_CANCELED_BY_USER

Faced the same Issue in MI devices and figured out the problem by following these Steps :

1) Go to Setting

2) Click on Additional Settings

3) Click on Developer Options

4) Click toggle of Install via USB to enable it

and the issue will be resolved.

enter image description here


The same trouble with same device has been here.

So, it's Xiaomi trouble, and here is a solution for this problem:

  1. Go to the "Security" application and tap "Options" at top right corner

  2. Scroll down to "Feature Settings" group, and look for "Permissions"

  3. At there switch off "Install via USB" option, which manages installation of the apps via USB and doesn't allow it.

On Latest Redmi Device

Settings > Additional Settings > Developer Options > Developer options: Check the Install via USB option.

Good luck!