Fixing “No Service” in Android Emulator on Linux

When running the Android emulator in Ubuntu 9.10, it may start up without any emulated GSM service. If this happens, there will be no data connection inside the emulator, and it will say “(No Service)” in the notification panel.

Steve on the “android-developers” Google Group found a workaround.

Add

-bootchart 100

To the emulator options. If running the emulator from a command line, you can do:

emulator -avd nameofavd -bootchart 100

If you are using the eclipse plugin, you can go to Window -> Preferences -> Android -> Launch and set the “Default emulator options” to “-bootchart 100” or you can do it in your individual run configurations.