主要参考:http://source.android.com/source/initializing.html
Ubuntu上编译Android后emulator出现“command not found "和加载.img文件等相关问题的解决:
vi $HOME/.profile
PATH=”$HOME/Android/out/host/linux-x86/bin:$PATH"
export ANDROID_PRODUCT_OUT=$HOME/Android/out/target/product/generic
"adb shell : device not found "问题解决:
开启模拟器:emulator之后
adb kill-server
adb shell
从而进入adb命令