![Genymotion 在启动时挂起](https://linux22.com/image/987999/Genymotion%20%E5%9C%A8%E5%90%AF%E5%8A%A8%E6%97%B6%E6%8C%82%E8%B5%B7.png)
我正在运行 Ubuntu 15.10。我使用的是 Genymotion 版本 2.6.0。当我打开 Genymotion 时,它会挂在启动屏幕上并且不显示任何进度。有时它会在用户身份验证或加载插件时停止。
注意:Ubuntu 运行良好,只有 Genymotion 停滞。
更新 1:从终端启动时没有任何变化。Genymotion 挂在“加载插件”屏幕上。没有抛出任何错误。
更新 2:最后一次发生的 Genymotion 日志如下。
Feb 21 06:43:24 [Genymotion] [Debug] Proxy configuration: no proxy used
Feb 21 06:43:25 [Genymotion] [Warning] **** STARTING GENYMOTION ****
Feb 21 06:43:25 [Genymotion] [Warning] Genymotion Version: Genymotion 2.6.0
Feb 21 06:43:25 [Genymotion] [Debug] [LaunchpadApp] Started with ("/home/kolappan/Tweak & Soft/genymotion/genymotion")
Feb 21 06:43:25 [Genymotion] [Debug] [doRequest] Requesting: "https://cloud.genymotion.com/launchpad/last_version/linux/x64/"
Feb 21 06:43:25 [Genymotion] [Debug] Getting currently authenticated user from local cache
Feb 21 06:43:25 [Genymotion] [Debug] [doRequest] HTTP Status: 0
Feb 21 06:43:25 [Genymotion] [Debug] [doRequest] HTTP Content: ""
Feb 21 06:43:25 [Genymotion] [Debug] [doRequest] Reply error: "Host
cloud.genymotion.com not found" ( 3 )
Feb 21 06:43:25 [Genymotion] [Debug] [doRequest] last error msg: "Network error"
Feb 21 06:43:25 [Genymotion] [Error] Network error while retrieving JSON content: 3
Feb 21 06:43:25 [Genymotion] [Error] [getGenymotionLastVersion] Bad request: "/launchpad/last_version/linux/x64/"
Feb 21 06:43:25 [Genymotion] [Error] Unable to get last Genymotion version number from server: 3
Feb 21 06:43:25 [Genymotion] [Debug] [login] Trying to authenticate "[email protected]"
Feb 21 06:43:25 [Genymotion] [Debug] Trying to logout user
Feb 21 06:43:25 [Genymotion] [Debug] [doRequest] Requesting: "https://cloud.genymotion.com/launchpad/login/"
Feb 21 06:43:25 [Genymotion] [Debug] [doRequest] HTTP Status: 0
Feb 21 06:43:25 [Genymotion] [Debug] [doRequest] HTTP Content: ""
Feb 21 06:43:25 [Genymotion] [Debug] [doRequest] Reply error: "Host cloud.genymotion.com not found" ( 3 )
Feb 21 06:43:25 [Genymotion] [Debug] [doRequest] last error msg: "Network error"
Feb 21 06:43:25 [Genymotion] [Error] [login] Login process result: 3
Feb 21 06:43:25 [Genymotion] [Debug] Loading "vboxmanage" plugin
Feb 21 06:43:25 [Genymotion] [Debug] Plugin "vboxmanage" loaded
Feb 21 06:43:25 [Genymotion] [Debug] Chipset: "AuthenticAMD"
Feb 21 06:43:25 [Genymotion] [Debug] CPUID 0x80000001 (AMD): ECX= "1d4037ff"
Feb 21 06:43:25 [Genymotion] [Debug] [VBoxManageCore] Path: "VBoxManage"
Feb 21 06:43:26 [Genymotion] [Debug] VBoxManage ("list", "hostinfo")
returns 0
Feb 21 06:43:26 [Genymotion] [Debug] [System properties] Online physical CPU number: 4
Feb 21 06:43:26 [Genymotion] [Debug] [System properties] Online virtual CPU number: 4
Feb 21 06:43:26 [Genymotion] [Debug] CPU number is 8 - Fix max number to 8
Feb 21 06:43:26 [Genymotion] [Debug] [System properties] Max CPU number: 8
Feb 21 06:43:26 [Genymotion] [Debug] [System properties] Max memory size:
3393
Feb 21 06:43:26 [Genymotion] [Debug] [findHostOnlyInterface] Looking for compatible host-only interface
Feb 21 06:43:27 [Genymotion] [Debug] VBoxManage ("list", "hostonlyifs") returns 0
Feb 21 06:43:27 [Genymotion] [Debug] [findHostOnlyInterface] Checking "vboxnet0" interface status ( "192.168.56.1" )
Feb 21 06:43:27 [Genymotion] [Warning] [findHostOnlyInterface] Interface is down
Feb 21 06:43:27 [Genymotion] [Debug] [deleteHostOnlyInterface] Deleting "vboxnet0" host-only interface
Feb 21 06:43:27 [Genymotion] [Debug] VBoxManage ("hostonlyif", "remove", "vboxnet0") returns 0
Feb 21 06:43:27 [Genymotion] [Debug] VBoxManage ("list", "dhcpservers") returns 0
Feb 21 06:43:28 [Genymotion] [Debug] VBoxManage ("hostonlyif", "ipconfig", "vboxnet0", "--ip", "192.168.56.1", "--netmask", "255.255.255.0") returns 0
Feb 21 06:43:28 [Genymotion] [Debug] VBoxManage ("dhcpserver", "remove", "--ifname", "vboxnet0") returns 0
Feb 21 06:43:28 [Genymotion] [Debug] VBoxManage ("dhcpserver", "add", "--ifname", "vboxnet0", "--ip", "192.168.56.100", "--netmask", "255.255.255.0", "--lowerip", "192.168.56.101", "--upperip", "192.168.56.254", "--enable") returns 0
Feb 21 06:43:28 [Genymotion] [Debug] [createHostOnlyInterface] DHCP server created with success
您可以从这里下载日志文件:
答案1
也许你可以尝试回答我自己的问题这里
问题是我没有删除配置文件。确保你删除了。
来源:Genymotion FAQ
详细信息:问题是我没有删除 中的配置文件$HOME/.config/Genymobile
。您还需要删除$HOME/.Genymobile
主目录中的文件夹,是的,完整安装,通常在opt/genymobile
文件夹中,或者您安装它的任何位置。
答案2
我遇到了同样的问题,我按照@Akash Aggarwal 所说的删除配置解决了这个问题,但再次尝试登录时又返回了错误Unkown gerneric error
,我通过启动Virtual Box
“首选项”->“网络”->“仅主机网络”->“编辑虚拟仅主机以太网适配器”->“DHCP 服务器”->“取消选中启用服务器”解决了这个问题。这解决了我的问题。
答案3
.Genymobile
是的,从目录中删除该文件夹home
,它就可以正常运行。此外,如果您不想先删除您的 android 设备,只需执行以下操作:
- 备份该文件夹(或重命名,例如
.Genymobile_Lawas
) - 打开应用程序(让应用程序创建一个新
.Genymobile
文件夹) templates
将名为、deployed
和的文件夹vdi
从备份文件夹移动到新文件夹。
答案4
删除 Genymotion.conf.lock 并重新启动。修复了同样的错误,但我使用的是 Antergos Linux。