自信,努力,坚持

android cts

上一篇 / 下一篇  2011-08-15 23:13:05 / 个人分类:android

1、配置环境

执行时遇到

~/home/android/out/host/linux-x86/bin$ ./emulator
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

解决问题:

我执行了如下的代码
export PATH=$PATH:/usr/local/src/android/out/host/linux-x86/bin
export ANDROID_PRODUCT_OUT=/usr/local/src/android/out/target/product/generic

到bin目录下执行./emulator


TAG:

 

评分:0

我来说两句

Open Toolbar