Reputation: 1284
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?
Upvotes: 77
Views: 55628
Reputation: 55
Go to Settings > SIM cards & mobile networks.
Then choose a default SIM card for calls(SIM 1 or SIM 2)
And finally try again.
Upvotes: -8
Reputation: 1316
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.
Upvotes: 125
Reputation: 402
I had the same problem after updating to latest MIUI 8 and it looks like there is no way to bypass the SIM requirement for now.
But you have options:
Upvotes: 0