I am stuck at compilation of curl with the error:
$ndk-build
Android NDK: Building for application 'curl'
Android NDK: Trying to define local module 'curl' in sources/curl//jni/Android.mk.
Android NDK: But this module was already defined by sources/curl//jni/Android.mk.
build/core/build-module.mk:34: *** Android NDK: Aborting. . Stop.
Can anyone provide the procedure you used to compile the dependencies?
I had a similar error when trying to include a precompiled static library into a NDK project. I fixed it by editing my project's Android.mk file to move the line $(call import-module,<MY_MODULE_NAME>)
to the very end of the file (after include $(BUILD_SHARED_LIBRARY)
).
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