Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pair Wear Emulator with Android Emulator

I'm sure this is a simple question, but I seem to be spinning my wheels here. I want to connect and android wear device (emulated) with and android device (also emulated). I've tried port forwarding but that doesn't seem to do the trick for me. Does anyone have any good documentation for this?

like image 833
user3780616 Avatar asked Dec 26 '14 23:12

user3780616


People also ask

How do I connect my emulator to my phone?

Emulator for native development with Android StudioIn the Android Studio toolbar, select your app from the run configurations drop-down menu. From the target device drop-down menu, select the device that you want to run your app on. Select Run ▷. This will launch the Android Emulator.


1 Answers

Genymotion + Wear Emulator

  1. Download and install genymotion image 4.3+;
  2. Download Gapps for the selected version of the image;
  3. Install gapps in genymotion and configure;
  4. Download and install Android Wear;
  5. Launch the wear emulator;
  6. Set port forward from genymotion to wear:

    adb -s {genimotion_ip}:{genimotion_port} -d forward tcp:5601 tcp:5601
    
  7. Use!
like image 104
beshkenadze Avatar answered Oct 02 '22 05:10

beshkenadze