Xiaomi Redmi Note 4X "Install via usb" throws "Insert your SIM card"

softmarshmallow picture softmarshmallow · Sep 19, 2017 · Viewed 17.2k times · Source

I'm using a Xiaomi Redmi Note 4X for my Android development.

Without "Install via USB" option, Android Studio throws:

Installation failed with message INSTALL_CANCELED_BY_USER

Solution for this is enabling "Install via USB", but when I try to enable this option, phone throws Toast message "Insert your sim card". Is there any way to simulate SIM card, or just making this work?

Answer

Krupa Kadecha picture Krupa Kadecha · Feb 22, 2018

To enable "install via usb" you have to insert sim card.

After enabling "install via usb" remove sim card then it will work without sim card also.