vab icon indicating copy to clipboard operation
vab copied to clipboard

seems missing mbedtls android lib?

Open muyufan opened this issue 2 years ago • 2 comments

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.

muyufan avatar Apr 18 '23 05:04 muyufan

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

larpon avatar Aug 11 '23 19:08 larpon