Android11 编译,报错soong bootstrap failed with: exit status 1
#### build completed successfully####make -j1
07:15:54 Build sandboxing disabled due to nsjail error.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
TARGET_PRODUCT=rk3566_roc_pc
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a55
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-2a
TARGET_2ND_CPU_VARIANT=cortex-a55
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.8.0-47-generic-x86_64-Ubuntu-18.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RD2A.211001.002
OUT_DIR=out
============================================
test android/soong/sdk
FAILED: out/soong/.bootstrap/soong-sdk/test/test.passed
out/soong/.bootstrap/bin/gotestrunner -p ./build/soong/sdk -f out/soong/.bootstrap/soong-sdk/test/test.passed -- out/soong/.bootstrap/soong-sdk/test/test -test.short
fork/exec /root/extracted/out/soong/.bootstrap/soong-sdk/test/test: exec format error
07:15:55 soong bootstrap failed with: exit status 1
网上的什么扩大分区我也弄了,感觉不是那个问题,因为我已经有10G了。去查看out/soong/.bootstrap/soong-sdk/test/test.passed又是空的,请问这个怎么解决?好心人帮忙看一下
本帖最后由 wx__SY8xQ4 于 2024-10-22 16:04 编辑
fork/exec /root/extracted/out/soong/.bootstrap/soong-sdk/test/test: exec format error
我觉得主要还是这个问题?网上没有找到相关解决办法。我是rk3566编译Android11报错。 我们编译都很顺畅,应该还是你环境的问题 qq号2317783075 发表于 2024-10-22 16:38
我们编译都很顺畅,应该还是你环境的问题
docker编译的,按着wiki来的。 wx__SY8xQ4 发表于 2024-10-22 17:14
docker编译的,按着wiki来的。
要不直接架设ubuntu18.04进行编译吧,很顺畅的。
页:
[1]