我正在尝试使用Java 1.6.0_65在Mac 10.7.5上构建AOSP 4.2.2。我跟踪了源网站并进行了编译。build / envsetup.sh,全套午餐。如何在模拟器上启动构建?我了解,一旦构建完成,我们应该能够运行仿真器,它将启动仿真器。但是现在我运行模拟器命令时说
emulator: command not found
我查看了/ host / darwin-x86 / bin,发现缺少仿真器二进制文件。正如Android文档所说
Symptom: The emulator (any version) built on MacOS 10.7 Lion and/or on XCode 4.x doesn't start.
Cause: Some change in the development environment causes the emulator to be compiled in a way that prevents it from working.
Fix: Use an emulator binary from the SDK, which is built on MacOS 10.6 with XCode 3 and works on MacOS 10.7.
我可以从在10.6上创建的版本中移植二进制文件吗?
这是Android开源中的一个已知问题。成功编译源代码后,您可以从运行AOSP的旧版Mac复制仿真器二进制文件并进行编译。就我而言,它工作得很好。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句