gpt4 book ai didi

android - 构建特定的 Android 平台?

转载 作者:行者123 更新时间:2023-11-30 04:51:48 25 4
gpt4 key购买 nike

我一直试图只构建Android平台的“/libcore”目录。当我尝试 mmm libcore 时,我得到以下输出:

============================================
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:找不到命令”

您确定安装了 Java SDK 吗?

关于android - 构建特定的 Android 平台?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3065963/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com