The emulator is running. But when I write adb shell in my shell I get:
adb shell
error:device offline
What is the reason for
If you are connecting through USB, unplug and plug it in again.
If you are connecting over WiFi, disable and re-enable WiFi on the phone.