每当我尝试在 Xubuntu 17.10 机器上安装 Anbox 时,都会出现以下错误:
error: cannot install "anbox-installer": Post https://api.snapcraft.io/v2/snaps/refresh: dial tcp:
lookup api.snapcraft.io on [::1]:53: read udp [::1]:39062->[::1]:53: read: connection
refused
答案1
您的问题似乎是网络连接问题。
请注意,Ubuntu 17.10 即将停产,请考虑将其升级到 18.04 LTS。
在我的 18.04 LTS 系统上,我得到以下信息:
mate@bionic:~$ snap install --classic anbox-installer
anbox-installer 1 from 'morphis' installed
mate@bionic:~$ anbox-installer
The anbox-installer is deprecated. Please find updated installation
instructions here https://github.com/anbox/anbox/blob/master/docs/install.md
For any further questions please ask on the #anbox IRC channel on the
FreeNode network or in the Anbox telegram group (https://t.me/anbox).
参观https://github.com/anbox/anbox/blob/master/docs/install.md给我们新的安装说明:
sudo add-apt-repository ppa:morphis/anbox-support
sudo apt update
sudo apt install anbox-modules-dkms
sudo modprobe ashmem_linux
sudo modprobe binder_linux
snap install --devmode --beta anbox
然后咨询有关软件安装的官方文档或者直接运行anbox.appmgr
。