簡體   English   中英

在Mac OS X 10.9.4上Android 4.4構建失敗

[英]Android 4.4 build fails on mac OS X 10.9.4

我正在嘗試使用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有關嗎?

我想出了解決方案。 Mac OS 10.9隨附的Xcode 5.1與AOSP4.4.4不兼容。 嘗試通過刪除Xcode應用程序並安裝較舊版本來對其進行降級。 以我為例,我為Mac 10.9安裝了Xcode 4.6,它可以正常工作。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM