Build-OpenSSL-cURL icon indicating copy to clipboard operation
Build-OpenSSL-cURL copied to clipboard

Android static libraries

Open MarcelKlammer opened this issue 5 years ago • 6 comments

Since you are so responsive, would it be possible for you to add Android static library scripts as well?

All libs compiled with r21 NDK would be perfect. Most other repositories around are outdated or don't work.

MarcelKlammer avatar Feb 12 '20 10:02 MarcelKlammer

Thanks for the kind words! I haven't built any Android libraries but I'll do some research to see what I can do. Please send me any repos that were helpful, even if outdated.

jasonacox avatar Feb 22 '20 03:02 jasonacox

it has been a year whats the status? This might help https://awesomeopensource.com/project/leenjewel/openssl_for_ios_and_android

tormentous avatar Sep 26 '21 06:09 tormentous

Thanks @tormentous ! Unfortunately, I have no Android devices to use to test with yet. I'll look at Android Studio to see if can provide enough emulation testing without an actual device to test.

jasonacox avatar Sep 26 '21 06:09 jasonacox

Thanks @tormentous ! Unfortunately, I have no Android devices to use to test with yet. I'll look at Android Studio to see if can provide enough emulation testing without an actual device to test.

thanks mate! kindly update us for the status. have you started it?

tormentous avatar Sep 30 '21 08:09 tormentous

Yes, I have discovered that it will require NDK as well as the Android SDK. The process is a bit gross for automation (GUI to install or more complex sequences via command line) to get it all together. I'm working to see if I can get it to work.

Because the build process will be significantly different that what we do for Apple device targets (iOS, macOS, tvOS), I am not going to add Android library generation to this project. I will create a new project targeting Android devices if I am able to get it automated.

jasonacox avatar Oct 01 '21 01:10 jasonacox

Yes, I have discovered that it will require NDK as well as the Android SDK. The process is a bit gross for automation (GUI to install or more complex sequences via command line) to get it all together. I'm working to see if I can get it to work.

Because the build process will be significantly different that what we do for Apple device targets (iOS, macOS, tvOS), I am not going to add Android library generation to this project. I will create a new project targeting Android devices if I am able to get it automated.

thank you jason! Also, please include “executable outputs” for 32 and 64 bit architectures.

There's a dockerfile https://github.com/nghttp2/nghttp2/blob/master/Dockerfile.android offered by the nghttp2 for android to build an executable, works for arm and arm64 but it fails whenever I configure it for x86 and x86_64 maybe you could try or maybe help me out.

tormentous avatar Oct 01 '21 04:10 tormentous