构建模拟器AOSP 4.2.2用make -j4 [英] Building emulator for AOSP 4.2.2 with make -j4

查看:283
本文介绍了构建模拟器AOSP 4.2.2用make -j4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想建立模拟器Android开源项目(AOSP)4.2.2,当我做编译-j4,我碰到下面的错误。

I am trying to build emulator for android open source project (AOSP) 4.2.2 and when I compile make -j4, I get the following error.

ost C: acp <= build/tools/acp/acp.c
host C: libhost <= build/libs/host/CopyFile.c
host C++: libandroidfw <= frameworks/base/libs/androidfw/AssetDir.cpp
host C++: libandroidfw <= frameworks/base/libs/androidfw/AssetManager.cpp
/var/folders/1v/7qwg76xn3fs34bpkbj7sw0k00000gq/T//ccmomvtt.s:1854:FATAL:Symbol _isSourceNewer.eh already defined.
/var/folders/1v/7qwg76xn3fs34bpkbj7sw0k00000gq/T//ccGfRe2w.s:829:FATAL:Symbol _process.eh already defined.
make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/host/darwin-x86/obj/EXECUTABLES/acp_intermediates/acp.o] Error 1

有人能告诉我什么错误。我跟着源网站建设这个。
我的系统配置:MAC OS 10.7.5
谢谢

Could someone please tell me what is going wrong. I followed source website to build this. My system configuration: Mac OS 10.7.5 Thanks

推荐答案

我终于想通了,问题是什么。我做了一些事情,使这项工作。

I finally figured out the what the problem is. I did couple of things to make this work.

1) Remove any previous version of Xcode on your machine running on OS x 10.7.
2) Look for Developer/ folder in the home directory. Move that to trash (It belongs to Xcode)
3) Reinstall Xcode 4.2 (which I used and it worked)
4) Follow the AOSP documentation to update the rest using macports.

感谢

这篇关于构建模拟器AOSP 4.2.2用make -j4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆