当前位置: 首页 > 工具软件 > Android-x86 > 使用案例 >

电脑 android x86 网络,没有网络连接 - VMWare Fusion上的Android-x86(No network connection - Android-x86 on VMWare ...

连成益
2023-12-01

没有网络连接 - VMWare Fusion上的Android-x86(No network connection - Android-x86 on VMWare Fusion)

我正试图想出一些用于在Mac OSX上进行开发的Android环境。

这证明非常困难( Mac上的Android模拟器滞后 )。 在我的Macbook上,Android模拟器非常慢,无法使用。 请注意,我正在尝试构建一个平板电脑应用,这似乎会让事情变得更糟。

到目前为止,我发现的最佳性能是通过VMWare融合运行Android的x86端口。

唯一的问题是darn事物不断给出“无网络连接”消息。

我对VMWare了解不多,但我猜测Android想要使用虚拟wifi适配器,但VMWare fusion只提供虚拟以太网适配器。

我目前正在测试的图像是android-x86-3.2-RC2-eeepc.iso

我该怎么办?

I'm trying to come up with some kind of Android environment to use for development on Mac OSX.

It's proving quite difficult ( Android emulator laggy on Mac ). On my macbook the Android emulator is so slow that it is unusable. Note, I'm trying to build a tablet app, which seems to make things worse.

So far the best performance I've found is just running the x86 port of Android via VMWare fusion.

The only problem is the darn thing keeps giving a "No network connection" message.

I don't know much about VMWare, but I'm guessing that Android wants to use the virtual wifi adaptor, but VMWare fusion only provides a virtual ethernet adapter.

The image I'm currently testing is android-x86-3.2-RC2-eeepc.iso

What can I do about this?

原文:https://stackoverflow.com/questions/9042404

更新时间:2021-01-31 17:01

最满意答案

启动Android x86,点击Alt + F1(显示shell)。 将netcfg放入并获得IP。

打开一个shell,然后写入adb connect 。

现在,您应该通过adb devices和Eclipse中的模拟器。

可以使用VMWare网络适配器。 在VirtualBox上我使用Host-only Adapter 。

Boot up Android x86, hit Alt+F1 (shows the shell). Put netcfg into and you get a IP.

Open a shell on, and write adb connect into.

Now you should see your Emulator via adb devices and in Eclipse.

It can be possible, to play around with the VMWare Network Adapters. On VirtualBox I use a Host-only Adapter.

2012-01-29

相关问答

使用“wget -qO- https: //s3-us-west-1.amazonaws.com/avi-tm/avi_install | sh”在VMWare Fusion上使用Ubuntu支持Avi Controller。 Ubuntu VM需要4个vCPU,12 GB才能运行Controller和SE。 您也可以在AWS中试用它或在实验室中安装。 结帐http://kb.avinetworks.com/try/ Avi Controller is supported on VMWare Fu

...

启动Android x86,点击Alt + F1(显示shell)。 将netcfg放入并获得IP。 打开一个shell,然后写入adb connect 。 现在,您应该通过adb devices和Eclipse中的模拟器。 可以使用VMWare网络适配器。 在VirtualBox上我使用Host-only Adapter 。 参考: http : //www.android-x86.org/documents/debug-howto 如果你无法让它工作,请看看virt

...

我发现的答案是禁用intellisense。 在菜单上选择工具/选项。 在“选项”对话框中,选择“文本编辑器”,然后选择您使用的语言,然后选择“常规”。 取消选中“自动列表成员”和“参数信息”。 这似乎适用于所有最新版本的Visual Studio,包括2012。 关于SO的更多讨论。 The answer I've found is to disable intellisense. Select Tools/Options on the menu. On the Options dialog b

...

这样做,关掉app nap .... https://communities.vmware.com/message/2312094#2312094 Do this, turn off app nap.... https://communities.vmware.com/message/2312094#2312094

telnet控制端口仅在android sdk模拟器上可用。 Android X86是设备的实际操作系统构建(也可以在虚拟机上使用),并且没有此控制接口可用。 但是,在这些版本上启用了网络上的ADB桥接,因此您可以使用“adb connect IPADDRESS”命令从主机连接ADB(其中IPADDRESS是android x86机器的当前IP地址)。 我推荐这篇博客文章,介绍如何进一步使运行VM的Android x86更贴近实际的用户设备(例如手机)。 The telnet control po

...

事实证明,您需要转到虚拟机 - >网络适配器 - >网络适配器设置,然后选择专用于我的Mac。 VM将无法连接到互联网,但您的Mac应该能够连接到分配的IP上的VM,即使没有互联网连接也是如此。 请记住添加规则,或关闭Windows防火墙,以便让流量通过IIS。 Turns out you need to go to Virtual Machine -> Network Adapter -> Network Adapter Settings, then select Private To My M

...

嘿,我找到了答案。 通过ssh连接到服务器后 运行命令vim-cmd vmsvc / getallvms以获取所有计算机。 请注意要更改其网络接口的计算机的VMID 。 通过运行命令vim-cmd vmsvc / power.off“VMID”关闭计算机电源。 现在转到机器的.vmx文件所在的文件夹。 使用vi编辑器编辑.vmx文件,将包含文本“ethernet0.networkName =' any_network_name '”的行内容更改为所需的网络。 保存并退出编辑器。 现在通过运行命令v

...

删除快照点应将增量文件提交回主.vmdk文件。 您应该能够在浏览器安装之前进行快照,并在快照之后分叉每次安装。 如果要将这些作为参考副本进行测试,我将使用克隆/复制功能创建单独的虚拟机,每个浏览器一个。 这可能更容易维护并分发给其他用户。 Deleting the snapshot point should commit the delta files back into the main .vmdk file. You should be able to snapshot before the

...

只需在运行rails应用程序时使用-b标志,例如rails server -b 0.0.0.0:3000这样它就可以绑定到整个网络接口,可以从外部访问 Just use the -b flag while running your rails app like rails server -b 0.0.0.0:3000 so it gets bound to the whole network interfaces and it can be accessed from outside

 类似资料: