1
我一直在試圖構建Android平臺的「/ libcore」目錄。當我嘗試mmm libcore
我結束了以下的輸出:構建特定的Android平臺?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.1-update1
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=ECLAIR
============================================
make: Entering directory `/home/chris/android/platform'
target Prebuilt: (out/target/product/generic/system/etc/security/cacerts.bks)
host Prebuilt: run-core-tests-on-ri (out/host/linux-x86/obj/EXECUTABLES/run-core-tests-on-ri_intermediates/run-core-tests-on-ri)
target Prebuilt: run-core-tests (out/target/product/generic/obj/EXECUTABLES/run-core-tests_intermediates/run-core-tests)
Copy: out/target/product/generic/system/etc/apns-conf.xml
Copying: out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes-full-debug.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/core-tests_intermediates/classes-full-debug.jar
/bin/bash: jar: command not found
make: *** [out/host/common/core-tests.jar] Error 127
make: *** Deleting file `out/host/common/core-tests.jar'
make: Leaving directory `/home/chris/android/platform'
有沒有人有什麼錯誤127是任何建議,或另一種方法,我可以着手建立「libcore」,而無需再次構建整個平臺?
謝謝, 克里斯
謝謝,原來系統鏈接到jar可執行文件沒有設置。 – Chrisc 2010-06-23 16:44:31
@Chrisc你是如何設置它的? – Jake 2014-07-16 04:37:32