Good evening,
I need to implement libCurl into one of our Android projects. I use JNI to call the c++ class with the libCurl code. Everything works just perfect but for
You need compile libcurl.so with "--with-ssl"
Which is really suffering. Refer "http://ieroot.com/2015/03/29/1728.html", may help you .
From libcurl errors manpage:
CURLE_UNSUPPORTED_PROTOCOL (1)
The URL you passed to libcurl used a protocol that this libcurl
does not support. The support might be a compile-time option
that you didn't use, it can be a misspelled protocol string or
just a protocol libcurl has no code for.
The compile-time option
is the important takeaway of this. So, test the library that you're using with curl_version_info()
(manpage here) to see if it contains SSL
support or not. The library doc may say it has SSL
support, but please confirm. If it doesn't contain SSL
support, then no https
.