Android 7.0 源码编译
来源:互联网 发布:类似sketch windows 编辑:程序博客网 时间:2024/06/07 14:31
一步步都是按照官网的要求做的,ubuntu的版本是16.04LTS 64bit
make -j4
"
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
TARGET_PRODUCT=aosp_arm64
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=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.0-39-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NYC
OUT_DIR=out
============================================"
Error:
“
[ 96% 25/26] glob external/*/Android.bp
[ 0% 1/46910] build out/target/product/generic_arm64/obj/ETC/file_contexts.bin_intermediates/file_contexts.local.tmp
FAILED: out/target/product/generic_arm64/obj/ETC/file_contexts.bin_intermediates/file_contexts.local.tmp
/bin/bash -c "m4 -s system/sepolicy/private/file_contexts out/target/product/generic_arm64/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl > out/target/product/generic_arm64/obj/ETC/file_contexts.bin_intermediates/file_contexts.local.tmp"
/bin/bash: m4: command not found
[ 0% 2/46910] build out/target/product/generic_arm64/obj/ETC/file_contexts.bin_intermediates/file_contexts.device.tmp
FAILED: out/target/product/generic_arm64/obj/ETC/file_contexts.bin_intermediates/file_contexts.device.tmp
/bin/bash -c "m4 -s system/sepolicy/vendor/file_contexts out/target/product/generic_arm64/obj/ETC/sectxfile_nl_intermediates/sectxfile_nl build/target/board/generic/sepolicy/file_contexts > out/target/product/generic_arm64/obj/ETC/file_contexts.bin_intermediates/file_contexts.device.tmp"
/bin/bash: m4: command not found
[ 0% 3/46910] Target buildinfo: out/target/product/generic_arm64/obj/ETC/system_build_prop_intermediates/build.prop
Target buildinfo from: build/target/board/generic_arm64/system.prop
[ 0% 4/46910] target StaticLib: libtrunks_test (out/target/product/gen...m64/obj/STATIC_LIBRARIES/libtrunks_test_intermediates/libtrunks_test.a
ninja: build stopped: subcommand failed.
20:38:09 ninja failed with: exit status 1
build/core/main.mk:24: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
#### make failed to build some targets (28:58 (mm:ss)) ####
”
What's the fuck? How to solve it???
- Android 7.0源码编译
- Android 7.0 源码编译
- android 7.0源码编译
- Android 7.0源码编译记录
- 编译android源码5---编译android源码
- android源码编译,模块编译
- 基于ubuntu12.04 编译Android 7.0源码
- android源码的编译
- Android源码编译
- Android源码编译反思
- Android源码编译
- Android源码编译反思
- android 源码编译
- Android 源码下载编译
- android 源码编译
- Android源码编译
- Android 源码编译
- android 源码编译
- CODEVS 1078 最小生成树
- 如何在困难环境下编译tensorflow源码
- IntelliJ IDEA 导入 spark 源码 步骤
- 区间k大数查询
- 算法与数据结构之树形结构的相关知识,简单易懂。
- Android 7.0 源码编译
- hduoj 2824 The Euler function【欧拉函数 打表】
- Android UI手机用户界面案例及UI概述
- [CRT][中国剩余定理]膜法
- Java运算符优先级
- 【数据分析】图书馆数据-06数据处理过程中的算法
- perl mojo 编码
- 运行mysqli_connect apache报服务器500错误
- 1129第几天