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目錄下找到它!
轉載于:https://www.cnblogs.com/dyllove98/archive/2013/06/09/3130080.html
總結
以上是生活随笔為你收集整理的Mac OS X 10.8.X编译Android4.2.X源码不生成emulator的问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: vs2010 将.mc编译为.rc文件
- 下一篇: 斐波纳契数列递归和非递归算法