问题
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