将Wear模拟器与Android模拟器配对 [英] Pair Wear Emulator with Android Emulator

查看:144
本文介绍了将Wear模拟器与Android模拟器配对的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我确定这是一个简单的问题,但是我似乎在这里打转.我想连接和android穿戴设备(模拟)与android设备(也模拟).我已经尝试过端口转发,但这似乎并不能解决我的问题.有人为此提供任何好的文档吗?

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?

推荐答案

Genymotion + Wear模拟器

  1. 下载并安装genymotion映像4.3 +;
  2. 下载 Gapps以获取所选图像版本;
  3. 安装 genymotion和下载并安装Android Wear;
  4. 启动磨损模拟器;
  5. 将端口从genymotion向前设置为磨损:

  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

  • 使用!
  • 这篇关于将Wear模拟器与Android模拟器配对的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆