softmarshmallow
softmarshmallow

Reputation: 1284

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

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

Answers (3)

Diego Lincoln
Diego Lincoln

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

Krupa Kadecha
Krupa Kadecha

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

cora32
cora32

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:

  • Install previous version of MIUI. Previous version require only mi-account.
  • Install another OS (ex. LineageOS)

Upvotes: 0

Related Questions