Target SDK : Android 7 sdk problem
We have ssl exceptions in Android 7 OS tablet , project exceptions is like below :
W MaksMobil: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
W MaksMobil: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
W MaksMobil: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
W MaksMobil: (null):0 ((null)): qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
We are develop project for Android 7 applications we are using 5.7.1 version qt creator but there is no Target SDK: Android 7 in AndroidManifest.xml file .After that we are installed also 5.8.0 qt version but we can't find Target SDK: Android 7 in AndroidManifest.xml file.Is above exception for this problem or not , how can I solve this problem.
IIRC, since version 7, Android doesn't provide OpenSSL anymore so you have to build it for that platform and deploy it with your application.
Thanks for answering .So how can we solve this important problem?, we can not use our https services in our app in Andrioid 7 OS Tablet. Are there any way to solve or not? (is it a bug ?)
Like I wrote: you have to build OpenSSL for Android and deploy it with your application.
We did everything step by step on the link we are create libssl.so and libcrypto.so in /home/islem/Android/openssl-1.0.2l folder with that link we are also modify .pro and .pri files like below .But again we can not use https services in Android 7 there is also problem below picture.
How can we solve this important problem because important QT application can not run https services in Android 7 ?
ANDROID_EXTRA_LIBS += $$PWD/../../Android/openssl-1.0.2l/libcrypto.so
ANDROID_EXTRA_LIBS += $$PWD/../../Android/openssl-1.0.2l/libssl.so
Thanks for helping
@halil-sogut68 seems you have no access to the libraries. check your user rights
Hi ekke ,
Thanks for answering , can you explain more details about problem (checking user rights in qt ) or are there any example method to solve this important problem .
Thanks for helping
@halil-sogut68 'unauthorized access' soubnds like the file is there but you cannotr access.
have no idea.
never got this from including openssl libraries
I'm doing all my work on OSX
Thanks ekke ,
We encounter in Android 7 OS, OSX is the different OS . Are there anyone who solve this problem in Linux side because we can not solve .
@halil-sogut68 If problem was solved mark topic also as solved, it would help other people to find right solution, if they encounter same problem.