您的位置:首页 > 移动开发 > Android开发

Android源码编译完重启电脑后emulator命令报错

2014-12-02 14:38 579 查看
编译完Android源码后,使用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


解决办法:

source build/envsetup.sh
lunch sdk-eng


然后再执行

emulator


可以启动模拟器
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: