广告

本站里的文章大部分经过自行整理与测试

2017年10月22日星期日

MultiBootUSB - 安装多个 Linux


MultiBootUSB 自由/开源跨平台, 
允许你创建有多个 Linux 发行版的 U 盘

它还支持在任何时候可卸载任何发行版, 
以便回收 U 盘上的空间, 安装其它发行版

https://github.com/mbusb/multibootusb/releases/

Ubuntu - 用 Anbox 运行 Android App

https://github.com/anbox/anbox

1) 安装 (运行 snap, 需要用原安装的内核)

$ sudo snap install --edge --devmode anbox

$ sudo add-apt-repository -y ppa:morphis/anbox-support
$ sudo apt update
$ sudo apt install -y anbox-modules-dkms

2) 运行 (NVidia 不行, 要用 Intel, 
如果有安装 NVIDIA X Server Settings, 将 PRIME Profiles 改为 Intel)

$ anbox session-manager

3) 安装 apk (必须是 ARM 结构)

$ sudo apt install android-tools-adb android-tools-fastboot
$ adb install name-of.apk

https://www.apkmirror.com/

2017年10月21日星期六

Ubuntu - GenyMotion 安装

1) 下载 genymotion-2.8.0-linux_x64.bin
http://pan.baidu.com/s/1eRGyCP8 密码:wujt

2) 下载 2.8.0 文件
http://pan.baidu.com/s/1nuGQsJZ 密码:sodz

3) 安装 virtualBox
$ sudo apt update
$ sudo apt install virtualbox

4) 安装 genymotion
$ sudo ./genymotion-2.8.0-linux_x64.bin

5) 备份
$ cd /opt/genymobile/genymotion
$ sudo mv genymotion genymotion.orig
$ sudo mv genyshell genyshell.orig
$ sudo mv player player.orig
$ sudo mv libxcb.so.1 libxcb.so.1.orig
$ sudo mv libdrm.so.2 libdrm.so.2.orig

6) 解压 genymotion.zip, 代替 /opt/genymobile/genymotion/
genymotion
genyshell
player

$ sudo chmod 755 *
$ sudo chown root:root *
$ sudo cp * /opt/genymobile/genymotion

7) 运行
$ /opt/genymobile/genymotion/genymotion

8) INSTALL_FAILED_CPU_ABI_INCOMPATIBLE 错误
http://pan.baidu.com/s/1i5MExTj 密码:5h1m

下载 Genymotion-ARM-Translation.zip, 将这个文件拖到模拟器上安装

9) 重启
重启后, 即可拖动 apk 安装到模拟器