Ubuntu |
您所在的位置:网站首页 › Ubuntu20安装wayland › Ubuntu |
anbox介绍 (from wikipedia)
Anbox是一个自由及开放源代码的兼容层,旨在将Android上的移动应用程序和移动游戏移植到GNU/Linux发行版上运行[2]。Anbox的初始版本于2017年4月11日正式发布。 安装anbox主要参考这个文章:https://ubuntuhandbook.org/index.php/2021/10/anbox-run-android-apps-ubuntu/ load kernel modules 12sudo modprobe ashmem_linuxsudo modprobe binder_linux 查看内核情况: (使用这个命令, 不要使用anbox官网的那个) 1lsmod | grep -e ashmem_linux -e binder_linux 结果如下(数字无所谓)即可 123$ lsmod | grep -e ashmem_linux -e binder_linuxbinder_linux 200704 31ashmem_linux 20480 10 install anbox 1snap install anbox --beta --devmode updata: 1snap refresh --beta --devmode anbox show anbox version 1snap info anboxset proxy 安装adb: sudo apt install adb 使用ifconfig命令获取本机ip (要找形如192.168.1.xxx的) 一个参考形式的grep: 1ifconfig | grep -o 'inet 192.168.1.[0-9]*' | grep -o '192.168.1.[0-9]*'得到了本机地址: 192.168.1.235 假设代理端口在7890:() 1adb shell settings put global http_proxy 192.168.1.235:7890安装google play添加arm支持 使用github上的脚本: https://github.com/geeks-r-us/anbox-playstore-installer/ 12sudo apt install lzipwget -O - https://raw.githubusercontent.com/geeks-r-us/anbox-playstore-installer/master/install-playstore.sh | bashroot(未尝试) [Installing UI root access manager on Anbox Magisk|failed] [SuperSu|succeeded] · Issue #894 · anbox/anbox waydroidhttps://waydro.id/#install 介绍(from arch wiki) Waydroid 是一种基于容器的方法,用于在常规 GNU/Linux 系统上启动完整的 Android 系统。 一些问题: 需要切换到wayland 但是在wayland下fcitx5的输入框位置不会随窗口移动 大问题: 安装后无法开机解决这个问题: 主要是安装waydroid库的时候引入了高版本的mutter-common; 需要在secure模式命令行恢复: 先删除那个库 rm xxx 1234sudo apt updatesudo apt-cache madison mutter-common #查看ubuntu源中mutter-common版本sudo apt install mutter-common=3.36.9-0ubuntu0.20.04.2 #安装制定版本reboot #重启即可 参考链接https://docs.anbox.io/userguide/install.html https://blog.eldernode.com/install-anbox-on-ubuntu-20-04/ https://zhuanlan.zhihu.com/p/50994213 https://ubuntuhandbook.org/index.php/2021/10/anbox-run-android-apps-ubuntu/ |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |