Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I make eclipse connect to Android emulator manually?

There are lots of times Eclipse can't connect to emulator that I turned on from AVD Manager, and just starts a new emulator by itself,( two emulators are the same ):((. How can I make eclipse find the emulator ?

like image 330
wanting252 Avatar asked Dec 10 '22 00:12

wanting252


1 Answers

some times restarting adb solves your problem

adb kill-server
adb start-server

for working easier in command line in windows, add the path of adb.exe to that Windows' path. For example add ";C:\Program Files\Android\android-sdk\platform-tools" to System Properties-> Advanced-> Environment Variables-> System Variables-> Path

One of the reasons of problems in device connection is a long USB cable or a two-piece cables like keyboard USB. try to connect your device to PC directly by a short cable.

like image 75
Bobs Avatar answered Dec 28 '22 07:12

Bobs