Compile OpenSSL to different name due to Android Zygote

后端 未结 1 1736
天涯浪人
天涯浪人 2021-01-24 07:22

I can build openssl-1.0.2j successfully for android (libcrypto.so and libssl.so) using GitHub stdchpie/android-openssl:

  • Environment: Linux OS, (my case I use Ma

相关标签:
1条回答
  • 2021-01-24 08:23

    The system has those libs loaded in the run-time environment, you can't use the System.loadLibrary

    You can make small ndk code that will use native dload for those libs. And eventually, I think its best to use the ssl api's through the common android API as you never know what they will do next version.

    0 讨论(0)
提交回复
热议问题