没有TARGET_DEVICE的私人恢复

时间:2017-04-09 18:55:21

标签: android

我尝试为Cynogenmod构建j2lte 12.1,但每次执行make -j8之后我都会lunch cm_j2lte-eng,它会给我以下内容错误:

build/core/binary.mk:745: target `/mnt/lineage/out/target/product/j2lte/obj/STATIC_LIBRARIES/libc_bionic_intermediates/arch-arm/bionic/memcmp.o' given more than once in the same rule.
"ebtables is disabled on this build"
find: `dummy': No such file or directory
build/core/base_rules.mk:550: warning: overriding commands for target `/mnt/lineage/out/target/product/j2lte/root/init.rc'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/mnt/lineage/out/target/product/j2lte/root/init.rc'
build/core/base_rules.mk:550: warning: overriding commands for target `/mnt/lineage/out/target/product/j2lte/root/init.environ.rc'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/mnt/lineage/out/target/product/j2lte/root/init.environ.rc'
build/core/Makefile:46: warning: overriding commands for target `/mnt/lineage/out/target/product/j2lte/root/init.zygote32.rc'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/mnt/lineage/out/target/product/j2lte/root/init.zygote32.rc'
build/core/Makefile:46: warning: overriding commands for target `/mnt/lineage/out/target/product/j2lte/root/init.usb.rc'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/mnt/lineage/out/target/product/j2lte/root/init.usb.rc'
build/core/Makefile:46: warning: overriding commands for target `/mnt/lineage/out/target/product/j2lte/root/init.trace.rc'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/mnt/lineage/out/target/product/j2lte/root/init.trace.rc'
build/core/Makefile:46: warning: overriding commands for target `/mnt/lineage/out/target/product/j2lte/root/ueventd.rc'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/mnt/lineage/out/target/product/j2lte/root/ueventd.rc'
build/core/Makefile:46: warning: overriding commands for target `/mnt/lineage/out/target/product/j2lte/system/lib/egl/libGLES_android.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/mnt/lineage/out/target/product/j2lte/system/lib/egl/libGLES_android.so'
No private recovery resources for TARGET_DEVICE j2lte

请帮助解决错误。

1 个答案:

答案 0 :(得分:0)

使用Oracle JDK而不是openjdk