Android Studio is a new IDE developing by JetBrains and Google together. It’s much better than Eclipse IDE and it’s more prepared for Android application development than it’s analogue from JetBrains Intellij IDEA.
But sometimes you get message “Waiting for device” trying to run your application on device just connected. Unfortunately, it’s a problem of
adb (Android Debug Bridge)
If you continue to get such annoying message, try this recipe.
adb devices, which is typically located under
platform-toolsdirectory of Android SDK.
Check if output have following:
List of devices attached c08084002767111 offline
If so, just reboot your device (turn off and on then) and go to step 1.
If it didn’t help, kill process
adb fork-server serverand reboot device.
It seems, that problem appear because of some bug in the
adb. From time to time it is unable to determine if device was been connected or not. That way, it’s not a bug of
This one recipe works perfect for me on
SAMSUNG Galaxy Tab 2 7.0, problem appears and on 10-inch device. But I can’t reproduce it on
Lenovo ThinkPad families.
Hope that info helps.