![]() |
OpenSSL library files for Android 64 bit
Hello to everyone. Sorry if this topic is already discussed here.
I've gone through the Search but couldnt find a discussion about the latest 64 bit .so files that are used to be deployed in Embarcadero delphi project for 64 bit platform. So far I have no issue to run a 32 bit application with libssl.so and libcrypto.so delpoyed, but when I deploy the same files fo 64 bit application, the logcat tells me "Could not load SSL library". I assume that I don't use the right .so files. I've gone through the topic about OpenSSL libraries deplyoment for both 32 and 64 bit application and I do exactly the same as you said there. Still - 32 bit application runs fine, but 64 bit application throws the error for the SSL libraries. A link for the right .so files would be very helpful. Your help would be highly appreciated ! Thank you in advance and have a good day ! |
AW: OpenSSL library files for Android 64 bit
OpenSSL-so-Files-Directories for Android for 64-Bit-Projects if you want to create a bundle:
- 32-Bit-so-files -> library\lib\armeabi-v7a\ - 64-Bit-so-files -> llibrary\lib\arm64-v8a\ Initialization:
Delphi-Quellcode:
var help2:String;
help2:=IdSSLOpenSSLHeaders.WhichFailedToLoad(); if (length(help2) > 0) then begin IdOpenSSLSetLibPath(IncludeTrailingPathDelimiter(TPath.GetLibraryPath)); IdSSLOpenSSLHeaders.Load(); help2:=IdSSLOpenSSLHeaders.WhichFailedToLoad(); if (length(help2) > 0) then begin IdOpenSSLSetLibPath(IncludeTrailingPathDelimiter(TPath.GetDocumentsPath)); IdSSLOpenSSLHeaders.Load(); mlog.info('SSL-Version(3): ' + OpenSSLVersion); help2:=IdSSLOpenSSLHeaders.WhichFailedToLoad(); if (length(help2) > 0) then begin mlog.info('SSL-Errors: ' + help2); end; end else begin mlog.info('SSL-Version(2): ' + OpenSSLVersion); end; end else begin mlog.info('SSL-Version(1): ' + OpenSSLVersion); end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:09 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz