通过 VirtualBox Telnet 连接到 Android-x86

发布于 2024-12-24 17:56:35 字数 573 浏览 1 评论 0原文

我在 VirtualBox 计算机中成功安装了“android-x86-2.2-generic”。我从这里获取了iso: http://code.google.com/p/android-x86/downloads/detail?name=android-x86-2.2-generic.iso

一切正常,甚至网络(仅供参考:桥接PCnet-PCI II)。

我使用它来获得更快的模拟器(它确实),现在我需要模拟短信和未接来电。通常在 AVD 模拟器中,我使用 telnet 会话到 localhost:5555/n。但在 VirtualBox 中,即使我连接到 192.168.1.4:5555/n 也不起作用,只有黑屏。

我什至不知道是否可以在 Android-x86 上使用 telnet...你知道吗?有没有其他方法可以在没有 telnet 连接的情况下模拟短信和未接来电?

I successfully installed "android-x86-2.2-generic" in a VirtualBox machine. I took the iso from here: http://code.google.com/p/android-x86/downloads/detail?name=android-x86-2.2-generic.iso

Everything is working properly, even the network (FYI: Bridge with PCnet-PCI II).

I'm using it to have a faster emulator (and it really is), and now I need to simulate SMS and Missing Call. Usually in AVD emulator I use a telnet session to localhost:5555/n. But in the VirtualBox, even if I connect to 192.168.1.4:5555/n nothing is working, only a black screen.

I don't even know if it is possible to use telnet on Android-x86... do you know? Is there an other way to simulate SMS and Missing Call without telnet connection?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

揽月 2024-12-31 17:56:35

telnet 控制端口仅在 android sdk 模拟器上可用。 Android X86 是一个实际的设备操作系统构建(也可以在虚拟机上使用),并且没有可用的控制接口。

然而,在这些版本上启用了 ADB 网络桥,因此您可以使用“adb connect IPADDRESS”命令(其中 IPADDRESS 是 android x86 机器的当前 IP 地址)从主机连接 ADB。

我推荐这个博客文章,了解如何进一步调整运行 VM 的 Android x86,使其更接近实际的用户设备(例如手机)。

The telnet control port is only available on the android sdk emulator. Android X86 is an actual OS build for devices (can be used also on virtual machines), and does not have this control interface available.

ADB bridge over network is however enabled on these builds, so you can connect the ADB from the host machine by using "adb connect IPADDRESS" command (where the IPADDRESS is the current IP address of the android x86 machine).

I recomend this blog entry on how to futher adapt the Android x86 running VM to be closer to an actual user device (e.g. phone).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文