我能够将最新的android源代码下载到32位的Ubuntu虚拟机中(主机:Windows 7 64位).构建完成没有任何错误.
然后我尝试按照这些说明进行操作,其中提到我应该在源代码的根目录上运行模拟器.但是,当我尝试这个时,我收到一条错误,指出找不到此命令.
所以我去了文件夹out/host/linux-x86/bin,我发现有几个文件emulator*:
emulatoremulator-armemulator_rendereremulator-uiemulator-x86当我键入emulator和emulator-x86在这里时,它也不起作用.这是我得到的错误:
xxxx/out/host/linux-x86/bin$ ./emulator-x86
emulator: ERROR: You did not specify a virtual device name, and the system
directory could not be found.
If you are an Android SDK user, please use '@<name>' or '-avd <name>'
to start a given virtual device (see -help-avd for details).
Otherwise, follow the instructions in -help-disk-images to start the emulator
Run Code Online (Sandbox Code Playgroud)
所以当我跑步时./emulator-x86 -help-disk-images,我看到以下内容:
If you …Run Code Online (Sandbox Code Playgroud)