Unable to start emulator after build AOSP

孤街浪徒 提交于 2019-12-21 17:44:52

问题


I can't run "emulator" after rebuild Android Open Source Project on Ubuntu 10.0.4. Please take a look at below error details then tell me if you know how. Thanks.

No command 'emulator' found, did you mean: Command 'qemulator' from package 'qemulator' (universe) emulator: command not found


回答1:


After:

source build/envsetup.sh

Please try running:

set_stuff_for_environment

then see if the emulator command works.




回答2:


emulator is a binary that should be located at prebuilts/android-emulator/<platform>/, e.g. prebuilts/android-emulator/linux-x86_64/. As mentioned, the lunch command will add this directory to your PATH.




回答3:


The emulator is added to current path when I run

source build/envsetup.sh
lunch full-eng


来源:https://stackoverflow.com/questions/12909496/unable-to-start-emulator-after-build-aosp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!