Android Install on Device Failure [INSTALL_CANCELED_BY_USER]

前端 未结 19 2124
慢半拍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:51

    I had an error of Session 'app': Error Installing APKs in Redmi 3S 6.0.1 MIUI Global 8.2. After turning OFF Instant Run in Android Studio, the error did not occur again. For this, Go to File Menu->Settings->Build, Execution, Deployment->Instant Run->Check OFF Enable Instant Run.

    But I wanted to use Instant Run features, so, Go to Settings-> Additional settings->Developer options->Turn off MIUI optimization. Restart phone.

    Both of the above methods worked. If the error still occurs, check to Turn on USB debugging and Install via USB.

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

    Step 1 : Turn on Developer Option (Settings > About Phone > Click 7 Times On "MIUI Version").

    Step 2 : Connect Your Device via USB to PC

    step 3 : Settings > Additional Settings > Developer Options > Turn On USB Debugging.

    Step 4 : Also You Should turn On Settings > Additional Settings > Developer Options > install Via USB

    Enjoy Coding ... :-)

    0 讨论(0)
  • 2020-11-29 00:00

    in miui 9 u must have access to the INTERNET to make it work

    Step 1 : Turn on Developer Option (Settings > About Phone > Click 7 Times On "MIUI Version").

    Step 2 : Connect Your Device via USB to PC

    step 3 : Settings > Additional Settings > Developer Options > Turn On USB Debugging.

    Step 4 : Also You Should turn On Settings > Additional Settings > Developer Options > install Via USB

    0 讨论(0)
  • 2020-11-29 00:01

    Go to Settings-> Additional settings->Developer options->Turn off MIUI optimization You must Turn on USB debugging and Install via USB Hope it help

    0 讨论(0)
  • 2020-11-29 00:02
    1. Open Security App pre-installed in MIUI
    2. Then click Optimize. Try to achieve 100% score.
    3. Activate developer's option by clicking multiple times on MIUI version. (Everyone knows how to do this)
    4. Then Disable WiFi and switch on install via USB under Developers option while you are connected through Mobile data and under your Xiaomi account.
    0 讨论(0)
  • 2020-11-29 00:04

    Happens to my Xiaomi phone after updated it to MIUI 8. Took me hours to figure it out!

    Check the followings if you're a victim too:

    1. Go to Settings -> Permissions -> Install via USB: Uncheck your App if it's listed.
    2. Go to Settings -> Additional Settings -> Privacy: Check the Unknown Sources option.
    3. Finally go to Settings -> Additional Settings -> Developer options: Check the Install via USB option.

    Update (MIUI 8):

    Signin in to MI account is required to enable Install via USB option.

    Update 2

    For some devices (e.g. Redmi) you might need to turn off MIUI Optimization and reboot your phone.

    Settings > Additional Settings > Developer Options > MIUI Optimization

    P.S. don't update MIUI unless necessary!

    May the victims saved

    0 讨论(0)
提交回复
热议问题