I never had issues with running things on the Android emulator. Recently I upgraded the CLI and core modules to 3.4.1 and Android Studio from 3.0 to 3.0.1. I don’t know much about Android (mostly do iOS stuff), but after the upgrades something went awry and the project doesn’t seem to install/run on the emulator any more.
- I started with a clean build, so no Android platform was present.
- I added Android using
tns platform add android
- Then I ran the project using
tns run android. I don’t have physical Android devices, so I only had the emulator to use.
This is the output I’m getting in the terminal:
ADMIN$ tns run android Searching for devices... Starting Android emulator with image 4in_API-26_Oreo_8.0
After this the emulator opens and I get the message
Guest hasn't come online in 7 seconds, retrying ADB connection. After a few seconds this message disappears from the emulator and the screen will be only black.
The terminal seems to stall, because I get no more output/messages. Ctrl+C no longer works, so I can’t even kill/stop the process. Have to close down the terminal.
Any ideas what should I do about getting this running again? (Even the basic hello-world app doesn’t run on the Android emulator.)
OS X 10.11.6 (El Crapitan)
Android Studio 3.0.1