Android Install on Device Failure [INSTALL_CANCELED_BY_USER]

前端 未结 19 2261
慢半拍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.

提交回复
热议问题