I downloaded the newest Android source code with repo, and attempted to compile it.
An error message printed when I ran make -j4
.
Detail following:
build/core/base_rules.mk:130: *** external/webrtc/src/system_wrappers/source: MODULE.TARGET.STATIC_LIBRARIES.libwebrtc_system_wrappers already defined by external/webrtc/src/system_wrappers/source. Stop.
Apparently there is a bug in the webrtc makefiles that causes it to ignore including STL
if the NDK_ROOT
environmental variable is previously defined (by ~/.bashrc
, in my case). So just make sure NDK_ROOT
is not defined at all when building. You can temporarily unset it with this command:
unset NDK_ROOT
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With