The application could not be installed INSTALL_FAILED_USER_RESTRICTED | Android Studio error



0
78889

INSTALL_FAILED_USER_RESTRICTED : android studio using redmi 4 device Android Studio: Failure [INSTALL_FAILED_USER_RESTRICTED] Installation did not succeed The application could not be installed: INSTALL_FAILED_USER_RESTRICTED Installation via USB is disabled. Android Studio - Unable to run app on device minSdk(API 23, N) != device Sdk(API 22) Change compileSdkVersion 'android-N' to compileSdkVersion 22 and targetSdkVersion 'N' to targetSdkVersion 22 Support me here PayPal https://www.paypal.me/sanjeet47  1.solution Steps for MIUI 9 and Above: Settings - Additional Settings - Developer options - Turn off "MIUI optimization" and Restart Turn On "USB Debugging" Turn On "Install via USB" Set USB Configuration to Charging MTP(Media Transfer Protocol) is the default mode. Works even in MTP in some cases 2.solution I had the same issue. It happens only on Flyme due to Security App. To enable installation: 1.Open Security Application. (it is one of preinstalled Flyme apps) 2.Go to Permission 3.Usb app installation. 4.Turn off USB installation monitor. minsdk(api 21) devicesdk(api 19) min sdk(api 25) device sdk(api 24) error minsdk(api 28) devicesdk(api 26) minsdk(api 23) devicesdk(api 19) android minsdkversion min sdk api 16 devicesdk api 15 android api 29 sdk 26

Published by: Sanjeet Tech Tips Published at: 5 years ago Category: آموزشی