如何在13.10上安装Ubuntu Touch Emulator?
我浏览了这个网站Touch / Emulator – Ubuntu Wiki,但我还是不确定如何在13.10上安装Ubuntu Touch Emulator。 该网站指向我: “android”包:Ubuntu ,用于下载.deb包但我不确定要下载哪个包。 我需要有关如何安装ubuntu触摸模拟器的明确说明。
依赖
使用以下PPA安装依赖项:
sudo add-apt-repository ppa:phablet-team/tools sudo apt-get update sudo apt-get install ubuntu-emulator
安装
要安装Ubuntu Touch x86仿真器,请将以下内容粘贴到终端中:
wget http://people.canonical.com/~rsalveti/aosp/generic_x86/emulator-x86.tar.bz2 -O /tmp/emulator-x86.tar.bz2 tar -jxvf /tmp/emulator-x86.tar.bz2 cd emulator-x86 ./build-emulator-sdcard.sh #this will download the ubuntu rootfs and create the sdcard image
要运行模拟器:
cd emulator-x86; ./run-emulator.sh
缩小窗口
如果模拟器窗口不适合您的屏幕,您可以调整它的大小,方法是在~/emulator-x86
文件夹中编辑run-emulator.sh
文件,然后添加in run-emulator.sh
-scale 0.5
。 将它缩小一半。
... exec emulator -memory 512 \ -scale 0.5 \ ...
资源:
-
Ubuntu Touch Emulator:Ubuntu 14.04,13.10和12.04~Web Upd8中的安装和使用
-
Ubuntu Touch X86仿真器:更好的仿真器性能,更快的启动~Web Upd8
您使用的是ubuntu 13.10(saucy salamander),请下载此 .deb软件包。
之后打开终端ctrl + alt + t 。进入下载.deb包的目录。
cd /path/to/the/directory/where/android.deb/file/is/located sudo dpkg -i android_20131006-1510-0ubuntu6_all.deb
现在将安装模拟器,您可以使用它。