Mac OS X 10.8.X编译Android4.2.X源码不生成emulator的问题

编译时的提示:

Checking build tools versions…
build/core/main.mk:165: ****************************************
build/core/main.mk:166: * gcc is linked to llvm-gcc which will *
build/core/main.mk:167: * not create a useable emulator. *
build/core/main.mk:168: ****************************************


Android官方给的解释:

 

Emulator built on MacOS 10.7 Lion doesn't work.


 

Symptom: The emulator (any version) built on MacOS 10.7 Lionand/or on XCode 4.x doesn't start.

Cause: Some change in the development environment causesthe emulator to be compiled in a way that prevents it from working.

Fix: Use an emulator binary from the SDK, which is built onMacOS 10.6 with XCode 3 and works on MacOS 10.7.


所以在Mac OS X 10.8X上面编译Android源码后发现没有emulator就不要再奇怪了,也不用乱鼓捣,我刚开始编译完发现没有就很奇怪,还以为那里做错了,谁知道鼓捣半天才发现,原来根本不会生成,看网上的帖子有人用同样的环境竟然能生成还能运行,真的是尽信书不如无书啊!


最后,如果想用模拟器可以在SDK的tools目录下找到它!


你可能感兴趣的:(emulator)