Android Install on Device Failure [INSTALL_CANCELED_BY_USER]

前端 未结 19 2123
慢半拍i
慢半拍i 2020-11-28 23:26

I\'m using Android Studio to connect to run app in my Xiaomi Redmi Note 3G device. My device is already found in the Choose Device Dialog, but I keep getting the

相关标签:
19条回答
  • 2020-11-28 23:39

    Follow the steps

    1. Go to settings -> Additional Settings -> Developer Options(if not found then tap MIUI version in About phone multiple times) -> Turn off MIUI optimization.

    2. GO to settings -> Mi Account -> Sign out(if signed in)-> developer options->turn on Install via USB(sign in page will open) -> Sign in to your mi Account

    It should work, if still these steps doesn't work for you then reboot your phone after these two steps

    0 讨论(0)
  • 2020-11-28 23:40

    IF YOU HAVE TRIED EVERYTHING, TRY THESE STEPS ALSO

    Step 0: Turn On MIUI Optimization & Restart.

    Step 1: Settings > Additional Settings > Privacy: Check the Unknown Sources option.

    Step 2: Settings > Additional Settings > Developer Options > Turn On USB Debugging

    Step 3: Settings > Additional Settings > Developer Options > install Via USB

    Step 4: Settings > Additional Settings > Developer Options > Turn off MIUI Optimization.

    Step 5: Restart your Mobile.

    0 讨论(0)
  • 2020-11-28 23:41

    Sometimes it happens because the user does not accept the installation in time. You can turn off "Monitor apps installed by USB" to override user confirmation.

    0 讨论(0)
  • 2020-11-28 23:41

    All the above instructions should work but if you're using MI Redmi Note 5A or later versions, you'll see that toggling "install via USB" toggles back off.

    That's because the new versions somehow requires you to be in China. To fix this, download Windscribe VPN from playstore(it's free to use). Off your wifi and on mobile data. Connect to HongKong.

    Go back and toggle "Install via USB". It'll work now. Disconnect the VPN.

    0 讨论(0)
  • 2020-11-28 23:42

    I have same problem before, here is my solution:

    Step 1: Go to "Setting" → find "Developer options" in System, and click.

    Step 2: TURN ON "Verify apps over USB" in Debbuging section.

    Step 3: Try "Run app" in Android Studio again!

    0 讨论(0)
  • 2020-11-28 23:42

    for check, sometime just need go to:

    • Settings
    • Permissions
    • Install via USB (turn off your app if exist) It was my case. Thanks @Jiyeh
    0 讨论(0)
提交回复
热议问题