[XDA Assist] androiabledroid:
PRODUCT_COPY_FILES vendor/InFocus/G42/usr/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.

PRODUCT_COPY_FILES device/InFocus/G42/configs/mtk-kpd.kl:system/usr/keylayout/mtk-kpd.kl ignored.

PRODUCT_COPY_FILES device/InFocus/G42/configs/ACCDET.kl:system/usr/keylayout/ACCDET.kl ignored.

PRODUCT_COPY_FILES device/InFocus/G42/configs/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.

PRODUCT_COPY_FILES device/InFocus/G42/configs/apns-conf.xml:system/etc/apns-conf.xml ignored.

PRODUCT_COPY_FILES device/InFocus/G42/configs/agps_profiles_conf2.xml:system/etc/agps_profiles_conf2.xml ignored.

No private recovery resources for TARGET_DEVICE G42

build/core/binary.mk:664: warning: overriding commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'

build/core/binary.mk:664: warning: ignoring old commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'

build/core/binary.mk:668: warning: overriding commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'

build/core/binary.mk:668: warning: ignoring old commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'

build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib/libcurl.so'

build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib/libcurl.so'

build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib/libion.so'

build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib/libion.so'

build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib/libm.so'

build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib/libm.so'

build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib/libnetutils.so'

build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib/libnetutils.so'

build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib/libui.so'

build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib/libui.so'

build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib64/libcurl.so'

build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib64/libcurl.so'

build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib64/libion.so'

build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib64/libion.so'

build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib64/libnetutils.so'

build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib64/libnetutils.so'

build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib64/libui.so'

build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib64/libui.so'

build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/bin/vold'

build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/bin/vold'

build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'

build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'

build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/vendor/lib/mediadrm/libmockdrmcryptoplugin.so'

build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/vendor/lib/mediadrm/libmockdrmcryptoplugin.so'

build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/vendor/lib64/mediadrm/libdrmclearkeyplugin.so'

build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/vendor/lib64/mediadrm/libdrmclearkeyplugin.so'

build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/vendor/lib64/mediadrm/libmockdrmcryptoplugin.so'

build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/vendor/lib64/mediadrm/libmockdrmcryptoplugin.so'

build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/etc/bluetooth/bt_did.conf'

build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/etc/bluetooth/bt_did.conf'

build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/root/init.rc'

build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/root/init.rc'

I am getting this error while compiling aosp 7.0 rom

I am using JDK 1.8.0, using Ubuntu 16.10

Please help

Thanks in advance