jbz6587
jbz6587

Reputation: 45

Android Studio Emulator : Waiting for target device to come online

So i'm new to android studio and trying to create my own app. But Ive been having trouble running the app on the emulator, where the emulator launches but the app does not and I am stuck at Waiting for target device to come online.

I have the most up to date android studio and have Android Emulator 28.0.2. I have the configuration set to launch with the main activity. I have also tried changing the emulator API level and does not change the situation.

Does anyone know how I would go about fixing this? Also do not have an android phone as an alternative way of testing.

Thanks for the help.

Upvotes: 3

Views: 10638

Answers (4)

MGLabs
MGLabs

Reputation: 91

Whenever the emulator struggles to come online, a cold boot often solves the problem regardless of the cause. Tools -> AVD Manager -> Your emulator -> Cold boot from drop down menu on the right

Upvotes: 3

DarrenDanielDay
DarrenDanielDay

Reputation: 76

I had the same problem recently. I was using Android SDK Platform-Tools 29.0.5, and Android Studio gave me a warning, suggesting that I should update it. So I updated it to the latest version (29.0.6), and then the problem was fixed. Perhaps it's just a issue of Android SDK Platform-Tools. Hope that helps.

Upvotes: 0

Beast77
Beast77

Reputation: 223

It means that the emulator is not starting. Try deleting it and creating a new emulator the try again. Alternatively, go ahead and run the emulator from the AVD manager then run the project itself.

Upvotes: 0

shizhen
shizhen

Reputation: 12583

Ensure that you checked Android Emulator and click Apply

enter image description here

Upvotes: 5

Related Questions