• اتصال ماشین مجازی به eclipse :

برای اتصال ماشین مجازی مانند youwave یا bluestack به اندروید مطابق با روش زیر عمل کنید. این روش برای تمام مجازی سازها تست شده و عمل می کند.

1) First, open the DDMS via Window->Open Perspective->DDMS under Eclipse.

2) Then open BlueStacks App Player.(leave it opens)

3) After that switch back to Eclipse and you should notice there're two emulator under the Device tab.

enter image description here

Then click Reset adb under the small triangle at the Device tab.

enter image description here

After a few seconds, the another one emulator will disappear and you can proceed to the next step.

enter image description here

4) Then return back through Window->Open Perspective->Java under Eclipse.

5) Select your project and right click on it, choose Debug As->Debug Configurations

enter image description here

6) Under Android Application select your configuration or create a new one. On the Target tab choose Always prompt to pick deviceAfter this, select Apply then Debug. enter image description here

7) Then select BlueStacks emulator in the prompt window, and finally select OK.

Alternatively, you can also open the BlueStacks App Player before Eclipse using the above steps(with minor changes).