[Interest] Android with OpenSSL (https) on Qt-5.2-beta1

Cornelius Hald hald at icandy.de
Thu Oct 24 18:19:37 CEST 2013


Hi,

I'm having trouble getting https working on Android. I think I've put
all libs in the right places and to me everything looks fine. Yet I
can't use https.

Here is what I get during startup:

D/dalvikvm(20563): Trying to load lib /data/data/x.y.z/lib/libssl.so
0x42032bf0
D/dalvikvm(20563): Added shared lib /data/data/x.y.z/lib/libssl.so
0x42032bf0
D/dalvikvm(20563): No JNI_OnLoad found in /data/data/x.y.z/lib/libssl.so
0x42032bf0, skipping init
D/dalvikvm(20563): Trying to load lib /data/data/x.y.z/lib/libcrypto.so
0x42032bf0
D/dalvikvm(20563): Added shared lib /data/data/x.y.z/lib/libcrypto.so
0x42032bf0
D/dalvikvm(20563): No JNI_OnLoad found
in /data/data/x.y.z/lib/libcrypto.so 0x42032bf0, skipping init

So it looks like libssl.so and libcrypto.so are loaded correctly. And
yet, if I try to do an https request, I get: "Protocol "https" is
unknown"

Is there anything else I need to do? I had this once working using a
Snapshot from Git, so I'm pretty sure the libraries are ok.

Thanks!
Conny





More information about the Interest mailing list