I am developing an Android 32-bit app in Delphi. I need to use OpenSSL libraries in my app in order to connect to an MQTT broker.
I am using OpenSSL 1.0.2t armeabi-v7a libcrypto.a
and libssl.a
static libraries. Through Delphi's Deployment Manager, I deploy them into my project's library\lib\armeabi-v7a
folder for both Debug and Release configurations, but I keep getting a "Could not load SSL Library" error when I try to connect to the broker testing the app.
I also tried deploying the armeabi version of libcrypto.a
and libssl.a
into library\lib\armeabi
but I'm still getting the same error.
After compiling the project, I checked that the libraries were succesfully deployed in the project folders (which they were). The target device Android version is Android 11. Is the problem with the library version? Or am I missing another configuration step in Delphi?
I've tried using OpenSSL 1.0.2o and 1.0.2n versions of the static libraries, but still no luck.