Waydroid 是一种基于容器的方法,用于在 Ubuntu 等常规 GNU/Linux 系统上启动完整的 Android 系统。

之前类似,使用Anbox内容如下:

Anbox安卓apk应用安装及使用说明和常见问题_zhangrelay的博客-CSDN博客_anbox使用


概述
Waydroid 使用 Linux 命名空间(user、pid、uts、net、mount、ipc)在容器中运行完整的 Android 系统,并在任何基于 GNU/Linux 的平台上提供 Android 应用程序。
容器内的 Android 可以直接访问所需的硬件。
Android 运行时环境附带一个基于 LineageOS 的最小定制 Android 系统映像。 使用的图像目前基于 Android 10


支持系统非常多!!!

docs.waydro.id

最佳途径参考如上链接,官网是最权威的学习路径!


1-

sudo apt install curl ca-certificates -y

2-

export DISTRO="ubuntu-latest"

export DISTRO="focal"

3-

sudo curl -# --proto '=https' --tlsv1.2 -Sf https://repo.waydro.id/waydroid.gpg --output /usr/share/keyrings/waydroid.gpg && \
echo "deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ $DISTRO main" > ~/waydroid.list && \
sudo mv ~/waydroid.list /etc/apt/sources.list.d/waydroid.list && \
sudo apt update

4-

sudo apt install waydroid -y

完工,整个过程非常方便快捷!!!

Vanilla Vanilla ROM 主要是为那些不希望 Google 服务落后的人准备的。 Vanilla 可以由用户随意定制,它可以用作 FOSS,它可以与 GApps 一起使用。 大多数想要 FOSS 软件的用户通常都使用 Vanilla ROM,例如 LineageOS、/e/、GrapheneOS 和 AOSP。


sudo waydroid init

8.52kbps  amazing !!!

amazing!!!

uget!


all:

ros@ros:~$ sudo apt install curl ca-certificates -y
[sudo] ros 的密码:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
ca-certificates 已经是最新版 (20211016~20.04.1)。
curl 已经是最新版 (7.68.0-1ubuntu2.12)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 25 个软件包未被升级。
ros@ros:~$ export DISTRO="ubuntu-latest"
ros@ros:~$ sudo curl -# --proto '=https' --tlsv1.2 -Sf https://repo.waydro.id/waydroid.gpg --output /usr/share/keyrings/waydroid.gpg && \
> echo "deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ $DISTRO main" > ~/waydroid.list && \
> sudo mv ~/waydroid.list /etc/apt/sources.list.d/waydroid.list && \
> sudo apt update
######################################################################### 100.0%
忽略:1 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu focal InRelease
命中:2 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu focal Release
获取:3 http://dl.google.com/linux/chrome/deb stable InRelease [1,811 B]
获取:4 https://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu focal InRelease [4,679 B]
获取:6 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,094 B]
获取:7 https://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu focal/main amd64 Packages [1,096 kB]
获取:8 http://packages.osrfoundation.org/gazebo/ubuntu-stable focal InRelease [4,255 B]
获取:9 https://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu focal/main arm64 Packages [1,071 kB]
获取:10 http://packages.osrfoundation.org/gazebo/ubuntu-stable focal/main i386 Packages [25.6 kB]
获取:11 http://packages.osrfoundation.org/gazebo/ubuntu-stable focal/main amd64 Packages [93.6 kB]
获取:12 http://packages.microsoft.com/repos/code stable InRelease [10.4 kB]
获取:13 http://packages.microsoft.com/repos/code stable/main arm64 Packages [103 kB]
获取:14 http://packages.microsoft.com/repos/code stable/main armhf Packages [102 kB]
命中:15 http://mirrors.aliyun.com/ubuntu focal InRelease
获取:16 http://mirrors.aliyun.com/ubuntu focal-updates InRelease [114 kB]
获取:17 http://packages.microsoft.com/repos/code stable/main amd64 Packages [102 kB]
获取:18 http://mirrors.aliyun.com/ubuntu focal-backports InRelease [108 kB]
获取:19 http://mirrors.aliyun.com/ubuntu focal-security InRelease [114 kB]
获取:20 http://mirrors.aliyun.com/ubuntu focal/main Translation-zh_CN [113 kB]
获取:21 http://mirrors.aliyun.com/ubuntu focal/restricted Translation-zh_CN [1,324 B]
获取:22 http://mirrors.aliyun.com/ubuntu focal/universe Translation-zh_CN [388 kB]
获取:23 http://mirrors.aliyun.com/ubuntu focal/multiverse Translation-zh_CN [4,612 B]
获取:24 http://mirrors.aliyun.com/ubuntu focal-updates/main amd64 Packages [2,039 kB]
获取:25 https://repo.waydro.id ubuntu-latest InRelease [1,351 B]
获取:26 https://repo.waydro.id ubuntu-latest/main all Packages [2,375 B]
获取:27 http://mirrors.aliyun.com/ubuntu focal-updates/main i386 Packages [706 kB]
获取:28 http://mirrors.aliyun.com/ubuntu focal-updates/main Translation-en [364 kB]
获取:29 http://mirrors.aliyun.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [277 kB]
获取:30 http://mirrors.aliyun.com/ubuntu focal-updates/main amd64 c-n-f Metadata [15.8 kB]
获取:31 http://mirrors.aliyun.com/ubuntu focal-updates/restricted amd64 Packages [1,224 kB]
获取:32 http://mirrors.aliyun.com/ubuntu focal-updates/restricted Translation-en [174 kB]
获取:33 http://mirrors.aliyun.com/ubuntu focal-updates/universe amd64 Packages [939 kB]
获取:34 http://mirrors.aliyun.com/ubuntu focal-updates/universe i386 Packages [687 kB]
获取:35 http://mirrors.aliyun.com/ubuntu focal-updates/universe Translation-en [212 kB]
获取:36 http://mirrors.aliyun.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [391 kB]
获取:37 http://mirrors.aliyun.com/ubuntu focal-updates/universe DEP-11 48x48 Icons [257 kB]
获取:38 http://mirrors.aliyun.com/ubuntu focal-updates/universe DEP-11 64x64 Icons [458 kB]
获取:39 http://mirrors.aliyun.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [21.1 kB]
获取:40 http://mirrors.aliyun.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [944 B]
获取:41 http://mirrors.aliyun.com/ubuntu focal-backports/main amd64 DEP-11 Metadata [7,980 B]
获取:42 http://mirrors.aliyun.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [30.5 kB]
获取:43 http://mirrors.aliyun.com/ubuntu focal-security/main amd64 Packages [1,672 kB]
获取:44 http://mirrors.aliyun.com/ubuntu focal-security/main i386 Packages [480 kB]
获取:45 http://mirrors.aliyun.com/ubuntu focal-security/main Translation-en [282 kB]
获取:46 http://mirrors.aliyun.com/ubuntu focal-security/main amd64 DEP-11 Metadata [40.7 kB]
获取:47 http://mirrors.aliyun.com/ubuntu focal-security/main amd64 c-n-f Metadata [10.8 kB]
获取:48 http://mirrors.aliyun.com/ubuntu focal-security/restricted amd64 Packages [1,138 kB]
获取:49 http://mirrors.aliyun.com/ubuntu focal-security/restricted Translation-en [162 kB]
获取:50 http://mirrors.aliyun.com/ubuntu focal-security/universe i386 Packages [559 kB]
获取:51 http://mirrors.aliyun.com/ubuntu focal-security/universe amd64 Packages [714 kB]
获取:52 http://mirrors.aliyun.com/ubuntu focal-security/universe Translation-en [130 kB]
获取:53 http://mirrors.aliyun.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [77.4 kB]
获取:54 http://mirrors.aliyun.com/ubuntu focal-security/universe DEP-11 48x48 Icons [37.3 kB]
获取:55 http://mirrors.aliyun.com/ubuntu focal-security/universe DEP-11 64x64 Icons [77.8 kB]
获取:56 http://mirrors.aliyun.com/ubuntu focal-security/universe amd64 c-n-f Metadata [14.7 kB]
获取:57 http://mirrors.aliyun.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2,464 B]
已下载 16.7 MB,耗时 1分 1秒 (272 kB/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 489 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
ros@ros:~$ sudo apt install waydroid -y
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:下列软件包有未满足的依赖关系:waydroid : 依赖: python3-gbinder 但是它将不会被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
ros@ros:~$ export DISTRO="focal"
ros@ros:~$ sudo curl -# --proto '=https' --tlsv1.2 -Sf https://repo.waydro.id/waydroid.gpg --output /usr/share/keyrings/waydroid.gpg && echo "deb [signed-by=/usr/share/keyrings/waydroid.gpg] https://repo.waydro.id/ $DISTRO main" > ~/waydroid.list && sudo mv ~/waydroid.list /etc/apt/sources.list.d/waydroid.list && sudo apt update
######################################################################### 100.0%
命中:1 http://mirrors.aliyun.com/ubuntu focal InRelease
命中:2 http://mirrors.aliyun.com/ubuntu focal-updates InRelease
命中:3 http://packages.microsoft.com/repos/code stable InRelease
忽略:4 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu focal InRelease
命中:5 http://mirrors.aliyun.com/ubuntu focal-backports InRelease
命中:6 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu focal Release
命中:7 https://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu focal InRelease
命中:8 http://mirrors.aliyun.com/ubuntu focal-security InRelease
命中:10 http://packages.osrfoundation.org/gazebo/ubuntu-stable focal InRelease
命中:11 http://dl.google.com/linux/chrome/deb stable InRelease
获取:12 https://repo.waydro.id focal InRelease [1,343 B]
获取:13 https://repo.waydro.id focal/main all Packages [6,269 B]
已下载 7,612 B,耗时 3秒 (2,366 B/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 489 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
ros@ros:~$ sudo apt install waydroid -y
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
将会同时安装下列软件:bridge-utils libgbinder libglibutil liblxc-common liblxc1 libpam-cgfs lxclxc-utils lxcfs python3-gbinder uidmap
建议安装:ifupdown btrfs-tools lvm2 lxc-templates lxctl
下列【新】软件包将被安装:bridge-utils libgbinder libglibutil liblxc-common liblxc1 libpam-cgfs lxclxc-utils lxcfs python3-gbinder uidmap waydroid
升级了 0 个软件包,新安装了 12 个软件包,要卸载 0 个软件包,有 489 个软件包未被升级。
需要下载 3,318 kB 的归档。
解压缩后会消耗 26.2 MB 的额外空间。
获取:1 http://mirrors.aliyun.com/ubuntu focal/universe amd64 lxcfs amd64 4.0.3-0ubuntu1 [65.3 kB]
获取:2 http://mirrors.aliyun.com/ubuntu focal/main amd64 bridge-utils amd64 1.6-2ubuntu1 [30.5 kB]
获取:3 http://mirrors.aliyun.com/ubuntu focal-updates/universe amd64 liblxc1 amd64 1:4.0.12-0ubuntu1~20.04.1 [335 kB]
获取:4 http://mirrors.aliyun.com/ubuntu focal-updates/universe amd64 liblxc-common amd64 1:4.0.12-0ubuntu1~20.04.1 [728 kB]
获取:5 https://repo.waydro.id focal/main all libglibutil amd64 1.0.66 [25.3 kB]
获取:6 https://repo.waydro.id focal/main all libgbinder amd64 1.1.25 [54.1 kB]
获取:7 http://mirrors.aliyun.com/ubuntu focal-updates/universe amd64 libpam-cgfs amd64 1:4.0.12-0ubuntu1~20.04.1 [32.7 kB]
获取:8 http://mirrors.aliyun.com/ubuntu focal-updates/universe amd64 lxc-utils amd64 1:4.0.12-0ubuntu1~20.04.1 [1,737 kB]
获取:9 https://repo.waydro.id focal/main all python3-gbinder amd64 0.0.0+git.202207132158 [70.4 kB]
获取:10 https://repo.waydro.id focal/main all waydroid all 1.3.0 [211 kB]
获取:11 http://mirrors.aliyun.com/ubuntu focal-updates/universe amd64 lxc all 1:4.0.12-0ubuntu1~20.04.1 [2,972 B]
获取:12 http://mirrors.aliyun.com/ubuntu focal-updates/universe amd64 uidmap amd64 1:4.8.1-1ubuntu5.20.04.2 [26.0 kB]
已下载 3,318 kB,耗时 17秒 (194 kB/s)
正在选中未选择的软件包 lxcfs。
(正在读取数据库 ... 系统当前共安装有 465033 个文件和目录。)
准备解压 .../00-lxcfs_4.0.3-0ubuntu1_amd64.deb  ...
正在解压 lxcfs (4.0.3-0ubuntu1) ...
正在选中未选择的软件包 bridge-utils。
准备解压 .../01-bridge-utils_1.6-2ubuntu1_amd64.deb  ...
正在解压 bridge-utils (1.6-2ubuntu1) ...
正在选中未选择的软件包 libglibutil。
准备解压 .../02-libglibutil_1.0.66_amd64.deb  ...
正在解压 libglibutil (1.0.66) ...
正在选中未选择的软件包 libgbinder。
准备解压 .../03-libgbinder_1.1.25_amd64.deb  ...
正在解压 libgbinder (1.1.25) ...
正在选中未选择的软件包 liblxc1。
准备解压 .../04-liblxc1_1%3a4.0.12-0ubuntu1~20.04.1_amd64.deb  ...
正在解压 liblxc1 (1:4.0.12-0ubuntu1~20.04.1) ...
正在选中未选择的软件包 liblxc-common。
准备解压 .../05-liblxc-common_1%3a4.0.12-0ubuntu1~20.04.1_amd64.deb  ...
正在解压 liblxc-common (1:4.0.12-0ubuntu1~20.04.1) ...
正在选中未选择的软件包 libpam-cgfs。
准备解压 .../06-libpam-cgfs_1%3a4.0.12-0ubuntu1~20.04.1_amd64.deb  ...
正在解压 libpam-cgfs (1:4.0.12-0ubuntu1~20.04.1) ...
正在选中未选择的软件包 lxc-utils。
准备解压 .../07-lxc-utils_1%3a4.0.12-0ubuntu1~20.04.1_amd64.deb  ...
正在解压 lxc-utils (1:4.0.12-0ubuntu1~20.04.1) ...
正在选中未选择的软件包 lxc。
准备解压 .../08-lxc_1%3a4.0.12-0ubuntu1~20.04.1_all.deb  ...
正在解压 lxc (1:4.0.12-0ubuntu1~20.04.1) ...
正在选中未选择的软件包 python3-gbinder。
准备解压 .../09-python3-gbinder_0.0.0+git.202207132158_amd64.deb  ...
正在解压 python3-gbinder (0.0.0+git.202207132158) ...
正在选中未选择的软件包 uidmap。
准备解压 .../10-uidmap_1%3a4.8.1-1ubuntu5.20.04.2_amd64.deb  ...
正在解压 uidmap (1:4.8.1-1ubuntu5.20.04.2) ...
正在选中未选择的软件包 waydroid。
准备解压 .../11-waydroid_1.3.0_all.deb  ...
正在解压 waydroid (1.3.0) ...
正在设置 libpam-cgfs (1:4.0.12-0ubuntu1~20.04.1) ...
正在设置 lxcfs (4.0.3-0ubuntu1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/lxcfs.service → /lib
/systemd/system/lxcfs.service.
正在设置 uidmap (1:4.8.1-1ubuntu5.20.04.2) ...
正在设置 bridge-utils (1.6-2ubuntu1) ...
正在设置 libglibutil (1.0.66) ...
正在设置 libgbinder (1.1.25) ...
正在设置 python3-gbinder (0.0.0+git.202207132158) ...
正在设置 liblxc1 (1:4.0.12-0ubuntu1~20.04.1) ...
正在设置 lxc-utils (1:4.0.12-0ubuntu1~20.04.1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/lxc-net.service → /l
ib/systemd/system/lxc-net.service.
Created symlink /etc/systemd/system/multi-user.target.wants/lxc.service → /lib/s
ystemd/system/lxc.service.
Setting up lxc dnsmasq configuration.
正在设置 lxc (1:4.0.12-0ubuntu1~20.04.1) ...
正在设置 liblxc-common (1:4.0.12-0ubuntu1~20.04.1) ...
正在设置 waydroid (1.3.0) ...
ERROR: WayDroid is not initialized, run "waydroid init"
正在处理用于 gnome-menus (3.36.0-1ubuntu1) 的触发器 ...
正在处理用于 libc-bin (2.31-0ubuntu9.9) 的触发器 ...
正在处理用于 systemd (245.4-4ubuntu3.17) 的触发器 ...
正在处理用于 man-db (2.9.1-1) 的触发器 ...
正在处理用于 desktop-file-utils (0.24-1ubuntu3) 的触发器 ...
正在处理用于 mime-support (3.64ubuntu1) 的触发器 ...
ros@ros:~$

Waydroid安装问题(依赖: python3-gbinder 但是它将不会被安装)相关推荐

  1. 电脑安装不了python3.50_Anaconda3 2.4和python 3.5安装错误(未找到过程项;Windows 10)...

    我刚刚决定从Python2.7改为Python3.5,因此尝试在3.5环境中重新安装Anaconda(64位).当我试图安装这个软件包时,我得到了几个错误(德语翻译,所以可能不准确):The proc ...

  2. python psycopg2使用_安装python依赖包psycopg2来调用postgresql的操作

    1.先安装psycopg2的依赖组件 本案例的操作系统为linux red hat 在安装python依赖包psycopg之前,你必须需要先安装postgresql数据库的相关组件: postgres ...

  3. matplotlib安装错误依赖问题解决

    matplotlib安装错误依赖问题解决 参考文章: (1)matplotlib安装错误依赖问题解决 (2)https://www.cnblogs.com/jonky/p/10155308.html ...

  4. 如何安装Python中numpy,在DOS验证下一步步解决安装问题(DOS下从python的验证到pip验证到Numpy安装成功)

    注:我在安装过程中,按照一些博主的安装流程,并未安装成功.最后发现了大概是我出现的问题和其他的博主不一样吧.反正就是要对症下药,其实每个人的问题都不太一样,自己设定的安装路径,各种权限,各种不同的系统 ...

  5. 在同一台电脑上同时安装Python2和Python3

    目前Python的两个版本Python2和Python3同时存在,且这两个版本同时在更新与维护. 到底是选择Python2还是选择Python3,取决于当前要使用的库.框架支持哪个版本. 例如:HTM ...

  6. CentOS 7-(64位)系统下安装Anaconda(Python3.x)及pip使用

    CentOS 7 自带Python2.7 安装Anaconda(Python3.6) Anaconda最好去下载清华提供的镜像,网速会很快,安装Anaconda3-4.4.0-Linux-x86_64 ...

  7. 树莓派原python3.5+opencv3.3.1+tensorflow1.7.0安装

    树莓派原python3.5+opencv3.3.1+tensorflow1.7.0安装 miniconda里装好opencv后import没有错误,使用时却会出现cv2.error:......re_ ...

  8. python3.6安装scrapy-Windows下安装scrapy(python3.6)

    安装环境: Windows 8 64bit Python3.6 64bit 1. 安装Visual C++ Build Tools scrapy底层库依赖C语言编译环境,目前Python3.5和Pyt ...

  9. python一键安装包_Python一键安装全部依赖包

    requirements.txt用来记录项目所有的依赖包和版本号,只需要一个简单的pip命令就能完成. step1: pip freeze >requirements.txt step2: pi ...

  10. ubuntu安装python_ubuntu18.04下源码编译安装最新版本Python3

    原文链接:ubuntu18.04下源码编译安装最新版本Python3 截止到2019年4月9日,Python3最新的版本是3.7.3. 在ubuntu18.04中已经安装的Python3版本是3.6. ...

最新文章

  1. 中科院院士丁汉:数字化制造、机器人、人工智能是智能制造 “三驾马车”
  2. 1.3. PostgreSQL 官方 YUM 源安装
  3. json 数据 生成 图表_CAPP工艺图表 / 知识重用 快速编制
  4. centos安装llvm_CentOS 7.0 编译安装LLVM7.0.0版本
  5. 对话推荐系统_RSPapers | 对话推荐系统论文合集
  6. 一霎清明雨,实现考勤管理。
  7. stm32之TIM-高级定时器应用实例一(详细)
  8. DCMTK:DcmItem和DcmSequenceOfItem的路径功能测试程序
  9. js前台页面显示中文,后台存对应的value值实现
  10. Linux下启动启动tomcat 服务器报错 The file is absent or does not have execute permission
  11. Docker快速安装RabbitMQ服务
  12. linux网卡顺序问题,linux网卡绑定及网卡顺序变更测试.docx
  13. 【教育】斯坦福开学演讲:为什么很多人顶级学校毕业,却终身平庸?
  14. 《网络攻防》第五周作业
  15. yii2 学习历程——添加验证码
  16. iDoubs的编译问题以及解决方案
  17. java numberformat 方法,Java NumberFormat.getCurrencyInstance()方法
  18. 数学建模预测模型实例(二)---表白墙影响力量化模型
  19. 华为Ensp常用命令
  20. 太阳直射点纬度计算公式_高中地理——每日讲1题(太阳直射点、太阳高度角、太阳视运动)...

热门文章

  1. 开放式基金全景点评:净值全面攀升 关注老基金(ZZ)
  2. Java 获取昨天的日期
  3. 网易招财猫(内测版)
  4. 暗猝灭剂BHQ-2 氨基,BHQ-2 amine,CAS:1241962-11-7
  5. SF图像滤镜/美颜/美妆算法详解与实战
  6. 用Ultraiso刻录U盘装系统
  7. Blackboard在线教学管理平台
  8. python从入门到撩妹 2 —— 30行代码实现520小彩蛋
  9. 在VS2103环境中集成Doxygen工具
  10. 文华wh6服务器文件夹,文华财经选择服务器配置