dependency cycle 错误!

 

dependency cycle 错误!_第1张图片

include $(CLEAR_VARS)
LOCAL_MODULE := libbarcodereader44
LOCAL_SRC_FILES := libs/armeabi/libbarcodereader44.so
LOCAL_MULTILIB := 32
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_SUFFIX := .so
include $(BUILD_PREBUILT)

build/core/prebuilt_internal.mk:489: warning: overriding commands for target `out/target/product/a36/obj_arm/SHARED_LIBRARIES/libbarcodereader44_intermediates/libbarcodereader44.so'
build/core/base_rules.mk:302: warning: ignoring old commands for target `out/target/product/a36/obj_arm/SHARED_LIBRARIES/libbarcodereader44_intermediates/libbarcodereader44.so'
[100% 2/2] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
ninja: error: dependency cycle: out/target/product/a36/obj_arm/SHARED_LIBRARIES/libbarcodereader44_intermediates/libbarcodereader44.so -> out/target/product/a36/obj_arm/SHARED_LIBRARIES/libbarcodereader44_intermediates/libbarcodereader44.so
16:07:57 ninja failed with: exit status 1

以上错误记录下来,防止再犯!原因是:由于从csdn上拷贝的Android.mk部分,所以每行有个空格符号,导致编译的时候报以上错误。

你可能感兴趣的:(dependency cycle 错误!)