编译A133 Android10 时更改了编译选项,改成编译64位的Android。但是每隔一到两分钟就会出现这个错误
layla@layla:~/Documents/A133/android$ make -j8
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=ceres_c3
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.5.0-26-generic-x86_64-Ubuntu-22.04.2-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QP1A.191105.004
OUT_DIR=out
============================================
[ 4% 1/25] //frameworks/compile/libbcc/bcinfo:libbcinfo header-abi-linker libbcinfo.so.lsdump
FAILED: out/soong/.intermediates/frameworks/compile/libbcc/bcinfo/libbcinfo/android_arm64_armv8-a_vendor_shared/libbcinfo.so.lsdump
prebuilts/clang-tools/linux-x86/bin/header-abi-linker -o out/soong/.intermediates/frameworks/compile/libbcc/bcinfo/libbcinfo/android_arm64_armv8-a_vendor_shared/libbcinfo.so.lsdump -so out/soong/.intermediates/frameworks/compile/libbcc/bcinfo/libbcinfo/android_arm64_armv8-a_vendor_shared/libbcinfo.so -arch arm64 -Iframeworks/compile/libbcc/bcinfo/include @out/soong/.intermediates/frameworks/compile/libbcc/bcinfo/libbcinfo/android_arm64_armv8-a_vendor_shared/libbcinfo.so.lsdump.rsp
Failed to parse JSON: * Line 1, Column 1
Syntax error: value, object or array expected.
ReadDump failed
[ 8% 2/25] //frameworks/compile/libbcc/bcinfo:libbcinfo header-abi-linker libbcinfo.so.lsdump [arm]
FAILED: out/soong/.intermediates/frameworks/compile/libbcc/bcinfo/libbcinfo/android_arm_armv8-a_vendor_shared/libbcinfo.so.lsdump
prebuilts/clang-tools/linux-x86/bin/header-abi-linker -o out/soong/.intermediates/frameworks/compile/libbcc/bcinfo/libbcinfo/android_arm_armv8-a_vendor_shared/libbcinfo.so.lsdump -so out/soong/.intermediates/frameworks/compile/libbcc/bcinfo/libbcinfo/android_arm_armv8-a_vendor_shared/libbcinfo.so -arch arm -Iframeworks/compile/libbcc/bcinfo/include @out/soong/.intermediates/frameworks/compile/libbcc/bcinfo/libbcinfo/android_arm_armv8-a_vendor_shared/libbcinfo.so.lsdump.rsp
Failed to parse JSON: * Line 1, Column 1
Syntax error: value, object or array expected.
ReadDump failed
16:25:04 ninja failed with: exit status 1
#### failed to build some targets (01:20 (mm:ss)) ####
此时继续make -j8编译就会恢复正常,然后过了大约一分半钟又会出现这种情况。
目前到了最后[ 4% 1/25]就完全编译不了了,求助各位网友!!该怎么解决
离线
找到原因了,没有把之前的clean掉,现在正常了
离线