gpt4 book ai didi

android - 构建Android源时编译错误

转载 作者:行者123 更新时间:2023-12-02 10:50:46 24 4
gpt4 key购买 nike

Iam尝试按照android dev网站上的指南构建android源代码。当我进入“make”部分时,我得到以下输出。谁能帮助我解决此错误?

谢谢,
弗兰斯

frans@frans-laptop:~/android-platform$ sudo make
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.3.0.2.0.1.0
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================
cts/bionic/libc/Android.mk:570: warning: overriding commands for target `out/target /product/generic/obj/lib/crtbegin_so.o'
bionic/libc/Android.mk:570: warning: ignoring old commands for target `out/target/product/generic/obj/lib/crtbegin_so.o'
cts/bionic/libc/Android.mk:576: warning: overriding commands for target `out/target/product/generic/obj/lib/crtend_so.o'
bionic/libc/Android.mk:576: warning: ignoring old commands for target `out/target/product/generic/obj/lib/crtend_so.o'
cts/bionic/libc/Android.mk:584: warning: overriding commands for target `out/target/product/generic/obj/lib/crtbegin_static.o'
bionic/libc/Android.mk:584: warning: ignoring old commands for target `out/target/product/generic/obj/lib/crtbegin_static.o'
cts/bionic/libc/Android.mk:590: warning: overriding commands for target `out/target/product/generic/obj/lib/crtbegin_dynamic.o'
bionic/libc/Android.mk:590: warning: ignoring old commands for target `out/target/product/generic/obj/lib/crtbegin_dynamic.o'
cts/bionic/libc/Android.mk:599: warning: overriding commands for target `out/target/product/generic/obj/lib/crtend_android.o'
bionic/libc/Android.mk:599: warning: ignoring old commands for target `out/target/product/generic/obj/lib/crtend_android.o'
build/core/base_rules.mk:166: *** cts/bionic/libc: MODULE.TARGET.STATIC_LIBRARIES.libc_common already defined by bionic/libc. Stop.

最佳答案

尝试运行制作干净的,然后运行制作

关于android - 构建Android源时编译错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8838672/

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