Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Android OpenSSL .so



  • Hi!

    I want to use openssl with my android app, but not working, I get this message: E linker : library "/system/lib/libcrypto.so" ("/system/lib/libcrypto.so") needed or dlopened by ... libQt5Core.so, openssl libraries not loaded :(
    Qt Creator 4.11.1, Framework: 5.13.2

    The precompiled files from https://github.com/KDAB/android_openssl added to project/android/libs/ directory, and I chcked buided apk with jar: 475212 Fri Nov 30 00:00:00 CET 1979 lib/armeabi-v7a/libssl.so, 2220172 Fri Nov 30 00:00:00 CET 1979 lib/armeabi-v7a/libcrypto.so.

    .pro file is contain:

    ANDROID_EXTRA_LIBS = \
            $$PWD/android/libs/libcrypto.so \
            $$PWD/android/libs/libssl.so
    

    Thanks in advance



  • Ok, I use wrong version .so-s, I replaced them to libssl_1_1.so and libcrypto_1_1.so, and working.


Log in to reply