现在的位置: 首页 > 综合 > 正文

android4.1编译之后运行Emulator 失败

2019年10月09日 ⁄ 综合 ⁄ 共 407字 ⁄ 字号 评论关闭

Android 2.3下只要设置了ANDROID_PRODUCT_OUT环境变量emulator就可以使用了,但是在android 4.1下就不能使用了
只有刚刚make结束的时候的终端可以直接运行,新开一个终端就不行了,出现以下提示:
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

解决方式是设置ANDROID_BUILD_TOP环境变量

【上篇】
【下篇】

抱歉!评论已关闭.