Android 源码编译

遇到错误

 

[201/974] including ./external/googletest/Android.mk ...
build/core/base_rules.mk:238: error: external/googletest/googletest: MODULE.TARGET.STATIC_LIBRARIES.libgtest already defined by external/googletest/googletest.
22:58:56 ckati failed with: exit status 1
make: *** [run_soong_ui] Error 1

#### make failed to build some targets (27 seconds) ####

 

解决

 

删除 ./external/googletest/Android.mk

你可能感兴趣的:(android)