blog
blog copied to clipboard
Deepin 安装和使用 anbox
1. 安装 anbox
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
sudo snap install --edge --devmode anbox
问题1: 遇到添加 ppa 失败
Error: could not find a distribution template for Deepin/stable
参考这里的解决方法 https://unix.stackexchange.com/questions/520715/deepin-15-10-error-could-not-find-a-distribution-template-for-deepin-stable
sudo vim /usr/share/python-apt/templates/Deepin.info
修改这个
Suite: unstable
为
Suite: stable
问题2: sudo apt update 报错
sudo vim /etc/apt/sources.list.d/morphis-ubuntu-anbox-support-eoan.list
修改这个
deb http://ppa.launchpad.net/morphis/anbox-support/ubuntu eoan main
为
deb http://ppa.launchpad.net/morphis/anbox-support/ubuntu disco main
问题3: sudo snap install --edge --devmode anbox 下载超级慢
# 开始设置代理
$ sudo systemctl edit snapd
加上:
[Service]
Environment="http_proxy=http://127.0.0.1:port"
Environment="https_proxy=http://127.0.0.1:port"
#保存退出。
$ sudo systemctl daemon-reload
$ sudo systemctl restart snapd
2. 安装 arm 环境和 google play store
下载这里的脚本 https://github.com/geeks-r-us/anbox-playstore-installer
sudo bash install-houdini-only.sh
sudo bash install-playstore.sh
问题4: 上不了 google? 如何配置代理呢?
解决方法来自这里 https://github.com/anbox/anbox/issues/398
adb shell settings put global http_proxy 192.168.2.2:8080
自测目前可以正常使用 GooglePlay Store 里的微信。
请问deepin应该如何卸载anbox呢?
请问deepin应该如何卸载anbox呢?
sudo snap remove anbox
谢谢。我已经成功卸载anbox了。似乎还要加一个sudo apt remove anbox-modules-dkms好点,这样会自动卸载anbox内核模块
deepin V20下添加ppa的报错变成了
could not find a distribution template for Deepin/n/a
将unstable改成stable也没有用了
deepin V20下添加ppa的报错变成了
could not find a distribution template for Deepin/n/a将unstable改成stable也没有用了
估计要改disco吧,v20改成debian 10,要另外找对应的ppa了,我现在没装deepin了。