首页 文章

在Mac OS 10.7上找不到仿真器命令

提问于
浏览
1

我正在尝试使用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创建的构建中移植二进制文件吗?

1 回答

  • 0

    这是Android开源中的一个已知问题 . 成功编译源代码后,可以从运行AOSP的旧版Mac复制仿真器二进制文件并进行编译 . 它在我的案例中完美地运作 .

相关问题