我正在尝试使用java 1.6版在mac OS 10.9.4上编译AOSP 4.4.4。当我为模拟器编译make -j4时出现以下错误。
Export includes file: external/zlib/Android.mk -- out/target/product/generic/obj/SHARED_LIBRARIES/libz_intermediates/export_includes
Import includes file: out/target/product/generic/obj/SHARED_LIBRARIES/libz_intermediates/import_includes
Import includes file: out/target/product/generic/obj/SHARED_LIBRARIES/libhardware_intermediates/import_includes
make: *** No rule to make target `out/target/product/generic/obj/SHARED_LIBRARIES/libwpa_client_intermediates/export_includes', needed by **`out/target/product/generic/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/import_includes'. Stop.**
make: *** Waiting for unfinished jobs....
Export includes file: system/core/libnetutils/Android.mk -- out/target/product/generic/obj/SHARED_LIBRARIES/libnetutils_intermediates/export_includes
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
我们可以使用java 1.6编译aosp 4.4吗?问题与java有关吗?
答案 0 :(得分:1)
我找到了解决方案。 Mac OS 10.9附带的Xcode 5.1与AOSP4.4.4不兼容。尝试通过删除Xcode应用程序并安装它的旧版本来降级它。在我的情况下,我为Mac 10.9安装了Xcode 4.6并且它可以工作。