genymotion黑屏:无法连接到VM(TcpStream)进行主主机连接,IP:Port = 192.168.56.101:25000 [英] genymotion black screen: Failed to connect to VM (TcpStream) for main host connection, IP:Port=192.168.56.101:25000

查看:170
本文介绍了genymotion黑屏:无法连接到VM(TcpStream)进行主主机连接,IP:Port = 192.168.56.101:25000的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在ubuntu 17.04上运行带有virtualbox的genymotion

Running genymotion w/virtualbox on ubuntu 17.04

尝试了自定义平板电脑7.1.0"和自定义手机7.1.0",但似乎都无法启动:我一直看到黑屏.

Tried both the "Custom Tablet 7.1.0" and "Custom Phone 7.1.0" and neither one seems to boot: I just see a black screen perpetually.

我在终端中收到此错误:

I get this error in terminal:

Failed to connect to VM (TcpStream) for main host connection, IP:Port=192.168.56.101:25000!!!
Failed to connect to VM (TcpStream) for main host connection, IP:Port=192.168.56.101:25000!!!
Failed to connect to VM (TcpStream) for main host connection, IP:Port=192.168.56.101:25000!!!

我能够在virtualbox中运行android 7机器(尽管有很多人体工程学问题),所以我猜测这不是硬件问题.

I was able to get an android 7 machine working in virtualbox (although with lots of ergonomics issues), so I'm guessing it's not a hardware issue.

不知道如何调试它;一直无法通过谷歌搜索找到任何东西.

No idea how to debug this; haven't been able to find anything by googling.

推荐答案

在这里张贴这个答案,我只是失去了一天,我的生活的一半这一点,我将永远不会回来了!只是为了确认一下,周围有很多帖子,提供了各种修复程序,但没有一个对我有用.

Posting this Answer here, as I just lost a day and a half of my life to this, which I will never get back! Just to confirm, there are a lot of posts around, with various fixes, none of which worked for me.

我遇到了与上述相同的问题,genymotion启动为黑屏,从终端启动时显示错误

I had the same issue as above, genymotion launching as a black screen, launching from Terminal shows error

Failed to connect to VM (TcpStream) for main host connection, 
   IP:Port=192.168.56.101:25000!!!

对我来说,问题在于virtualbox尚未为vboxnet0创建路由.

For me, the issue was that virtualbox had not created the route for vboxnet0.

要确认,请安装net-tools,并检查您的路线

To confirm, Install net-tools, and check your routes

$ sudo apt install net-tools
$ route -n

您正在寻找与您的错误在同一范围内的ip,在这种情况下为192.168.56.0.如果不存在,则需要添加它.

Your looking for an ip in the same range as your error, in this case: 192.168.56.0. If it's not there you'll need to add it.

sudo ip route add 192.168.56.0/24 dev vboxnet0

返回genymotion,清除缓存->设置->其他->清除缓存,然后重新加载设备.

Go back to genymotion, clear your cache -> settings -> misc -> clear cache, and then reload your device.

希望它对您有用!

这篇关于genymotion黑屏:无法连接到VM(TcpStream)进行主主机连接,IP:Port = 192.168.56.101:25000的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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