ECC-25519
ECC-25519 copied to clipboard
Linker failed while linking libed25519_android.so.
Hi,
I am getting the following error while attempting to build ECC-25519-Android project with Android Studio for the first time:
Error:Execution failed for task ':ecc-25519:linkEd25519_androidArmeabi-v7aDebugSharedLibrary'.
A build operation failed. Linker failed while linking libed25519_android.so.
What am I missing? I've attached log file. Any help is appreciated. Thanks. output.txt
@pepelepoe The error is related to not finding -lm_hard. This flag was removed on NDK r15
You are probably using Android NDK r15 or higher, change your NDK to Android NDK r14 and it should work.
The hard float ABI was removed from the NDK in r12, but it still exists on r13 and r14. Only on r15 and moving forward it was officially removed.
Please see: https://android.googlesource.com/platform/ndk/+/master/docs/HardFloatAbi.md and https://groups.google.com/forum/#!topic/kaldi-help/cILizZfqHCk for similar discussions.