com.android.ddmlib.InstallException: INSTALL_FAILED_USER_RESTRICTED: Install canceled by user code example
Example: INSTALL_FAILED_USER_RESTRICTED: Install canceled by user
1) Turn ON Developer Options
2) Turn ON USB Debugging
3) Turn OFF MIUI optimization
4) Turn ON Install via USB