How to figure out the IP address of AndroVM 4.1.1_r6.1-20130222 emulator?

我的梦境 提交于 2019-12-11 05:30:08

问题


I've installed AndroVM emulator and now want to connect it to adb in order to be able to deploy my applications there.

I've read that in order to do so, it is necessary to press Alt-F1 on the keyboard and then enter the netcfg command.

But when I press Alt-F1 I see a screen like shown below (no command line).

AndroVM configuration app looks like this:

How can I find out the IP address of the emulator?

Update 1 (01.05.2013 20:18 MSK):

I stopped the VM and tried to configure the network as explained in this tutorial. Adapter 1 must be set to host only, but when I try to select this option, I get the error message On the "Network: Adapter 1" you did not select the host-only adapter.


回答1:


about phone->status, you will see ip address. Or install a terminal app.

Several users have the same ALT+F1 problem.

That you don't see your IP in the androVm Configuration app still confuses me, maybe your mashine itself has some wrong network settings?




回答2:


(just want to add another answer because I found your post while Googling)

AFAIK, Alt+F1 is available with Android x86, and this distribution is NOT the same as AndroVM! In AndroVM, one possibility to find your IP is to install a terminal (Terminal Emulator for instance) and to type "ip addr show" (or "netcfg").

This is working in my VM, I see all my interfaces with my addresses.




回答3:


I fixed the problem by configuring the host-only adapter (File -> Preferences -> Network).



来源:https://stackoverflow.com/questions/16321715/how-to-figure-out-the-ip-address-of-androvm-4-1-1-r6-1-20130222-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!