【问题标题】:Emulator command not found on Mac OS 10.7在 Mac OS 10.7 上找不到模拟器命令
【发布时间】:2014-08-26 20:12:38
【问题描述】:

我正在尝试使用 java 1.6.0_65 在 mac 10.7.5 上构建 AOSP 4.2.2。我跟着源网站编译。 build/envsetup.sh,午餐全英。 如何在模拟器上启动构建?我知道一旦构建完成,我们应该能够运行模拟器来启动模拟器。但是现在我当我运行模拟器命令时它说

emulator: command not found

我查看了 out/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 android-emulator android-source


    【解决方案1】:

    这是 Android 开源中的一个已知问题。成功编译源代码后,您可以从运行 AOSP 的旧版 Mac 复制模拟器二进制文件并进行编译。在我的情况下它工作得很好。

    【讨论】:

      猜你喜欢
      • 2012-05-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-07-17
      • 1970-01-01
      • 2014-06-30
      • 2020-01-27
      • 2012-05-03
      相关资源
      最近更新 更多