admin管理员组

文章数量:1123160

I use Android Studio to create Android emulators, and it usually works fine on Windows and Mac. However, when I try to create an emulator on my Linux PC, the device always shows up without a SIM card, even when I use the same system image.

What am I doing wrong?

I tryid different images from android studio observer and they also had to sim card.

I use Android Studio to create Android emulators, and it usually works fine on Windows and Mac. However, when I try to create an emulator on my Linux PC, the device always shows up without a SIM card, even when I use the same system image.

What am I doing wrong?

I tryid different images from android studio observer and they also had to sim card.

Share Improve this question edited 2 hours ago peterh 12.6k20 gold badges89 silver badges113 bronze badges asked 6 hours ago Alexandr BabenkoAlexandr Babenko 211 bronze badge New contributor Alexandr Babenko is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
Add a comment  | 

1 Answer 1

Reset to default 0

1.Add these command line parameters when launching the emulator:

**-phone-number 5554 -dns-server 8.8.8.8**

2.Alternatively, you can modify the AVD configuration file (usually located in ~/.android/avd/[your_avd_name].avd/config.ini) to add:

hw.cellNetwork=yes
hw.lcd.density=420
hw.mainKeys=no
hw.keyboard=yes

本文标签: Why Android Emulator on linux does not have sim cardStack Overflow