通过VNC连接到Android模拟器 [英] Connecting to Android Emulator through VNC
问题描述
我们怎样才能通过VNC与 noVNC的帮助用javascript连接到Android模拟器?
我想使我的browser.How仿真器可以说是done.thanks
How can we connect to Android emulator through VNC with the help of noVNC using javascript? i would like to render the emulator on my browser.How can that be done.thanks
推荐答案
您可以用启动控制台上的仿真模拟器-avd<保证AVD名称>
并添加你的情况为QEMU选项与 -qemu
-qemu -vnc:2
将启动VNC服务器端口<听code> 5902 。
如果你得到一个错误,那你的键盘布局没有被发现,你可以从 Android的软件开发工具包/工具/键盘映射
到本地QEMU的键盘映射文件夹内创建符号链接安装。
You can start the emulator on the console with emulator -avd <the avd name>
and add options for qemu with -qemu
in your case -qemu -vnc :2
will start a VNC server listening at Port 5902
.
If you get an error, that your keymap was not found you can creating a symlink from android-sdks/tools/keymaps
to the keymaps folder of your local qemu install.
到现在我也找不到了,怎么鼠标转发到VNC服务器。
Until now I couldn't find out, how to forward the mouse to the VNC server.
这篇关于通过VNC连接到Android模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!