1) Turn ON Developer Options 2) Turn ON USB Debugging 3) Turn OFF MIUI optimization 4) Turn ON Install via USB
// check in device if it is allowed to install apps by usb.