Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seems missing mbedtls android lib? #266

Open
muyufan opened this issue Apr 18, 2023 · 2 comments
Open

seems missing mbedtls android lib? #266

muyufan opened this issue Apr 18, 2023 · 2 comments

Comments

@muyufan
Copy link

muyufan commented Apr 18, 2023

hello, I try to build a v example file which using http request into apk, but on android, logcat show below error message.

"04-11 18:09:37.357 26605 26605 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "mbedtls_entropy_func" referenced by "/data/app/io.v.android-ihK8P-u8HB98ZcUZ9wgnCw==/lib/arm64/libv_test_app.so"...

does it mean that start that apk, it try to loading mbedtls library, but it couldn't find it?

how should I include maybe the "static mbedtls library" in to apk to avid this error? or any other suggestion? thank you.

@larpon
Copy link
Contributor

larpon commented Aug 11, 2023

Yes that's odd. SSL on Android has a messy history unfortunately. But ofc SSL should work somehow

@larpon
Copy link
Contributor

larpon commented Sep 15, 2024

@muyufan I have recently improved the way vab compiles C dependencies - can you please try again with latest vab and report back if the problem still exist?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants