创建emulator时遇到如下问题,请大家帮助
Creating new emulator instance.
Get https://system-image.ubuntu.com/channels.json: dial tcp: lookup system-image.ubuntu.com on 127.0.1.1:53: server misbehaving
Search configured emulator instances.
Detecting device..
求助:ubuntu sdk创建emulator失败
-
- 帖子: 2
- 注册时间: 2008-02-22 13:22
- DawnDIY
- 帖子: 28
- 注册时间: 2012-08-03 16:29
Re: 求助:ubuntu sdk创建emulator失败
貌似是你的DNS有问题?lgl88911 写了:创建emulator时遇到如下问题,请大家帮助
Creating new emulator instance.
Get https://system-image.ubuntu.com/channels.json: dial tcp: lookup system-image.ubuntu.com on 127.0.1.1:53: server misbehaving
Search configured emulator instances.
Detecting device..
-
- 帖子: 3
- 注册时间: 2015-11-06 18:11
- 系统: ubuntu
Re: 求助:ubuntu sdk创建emulator失败
默认的DNS服务器是127.0.0.1。更改为公共DNS服务器就能解决此问题了。
sudo nano /etc/resolv.conf
nameserver 208.67.222.222
nameserver 208.67.220.220
nameserver 8.8.8.8
请参阅:https://www.linuxbabe.com/phone/ubuntu-touch-emulator
sudo nano /etc/resolv.conf
nameserver 208.67.222.222
nameserver 208.67.220.220
nameserver 8.8.8.8
请参阅:https://www.linuxbabe.com/phone/ubuntu-touch-emulator