Repository navigation
[BUG] Android 5 devices crashing with UnsatisfiedLinkError libcurl.so #112
Description
Activity
Interesting. I'll try to find some time to take a look, but unfortunately I have quite a few other things I need to clear off my todo list before I can put much time into these packages.
Also it would be lovely to be able to use the OpenSSL without libcurl.
Why can't you?
Also it would be lovely to be able to use the OpenSSL without libcurl.
Why can't you?
Well I don't wanna digress from the original problem here but about that, as far as I remember when I tried adding only the openssl dependency and openssl::openssl instead of the curl::curl, I wasn't able to compile it because of a linker error complaining about openssl. However, adding the libcurl dependency and linking with libcurl instead of the openssl was alright. I will give it another shot and add some more details about the error when I have some spare time.
File another bug for that if you have more info. I haven't actually tried doing that afair but I would expect it to work.
The libcrypto.so in the OpenSSL package definitely has that symbol.
IIRC before M system libraries would be loaded preferentially to libraries in the app if they had the same name, so we're getting /system/lib/libcrypto.so instead of the one in the app :(
Will need to think about how to solve that. Presumably just by making sure every library gets an
_ndkportssuffix or something like that.+1 on this issue.
got exactly same error on FireTV sticker (second generation) api level 22 and any Android 5 emulator.any progress on this issue?
No. We'll post an update when we have progress, but we're currently busy with other issues.
- addedndkportsNot a Prefab bug, but we don't have a better home for theseNot a Prefab bug, but we don't have a better home for these
on May 28, 2024
Describe the bug
Wanted to use the new native library dependencies but apparently Android 5 devices are not happy with this and they are all crashing.
To Reproduce
build.gradle
CMakeLists.txt
Kt side:
Release build (app bundle)
Android 5 devices: Crash.
Expected behavior
Should not crash like the rest of the Android 6-10 versions?
Logs
Environment:
Prefab version:
Target OS version: Android 5
Build system: macOS Catalina
Additional context
All Android 5.0 - 5.1 - 5.1.1 versions are crashing. No other crash report received from higher versions.
Some crashing devices:
Huawei Y6 Pro
Samsung J3 (2016)
Samsung Note 3
Samsung Galaxy Grand Prime
Is it stated in somewhere that API 21-22 is not supported in these openssl / lib curl releases or am I missing something here?
Also it would be lovely to be able to use the OpenSSL without libcurl.