bflattened / bflat

C# as you know it but with Go-inspired tooling (small, selfcontained, and native executables)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not found 'NetSecurityNative'

fluttergo opened this issue · comments

commented

there is an Error , when use the 'HttpClient' on the android system,

code:

using HttpClient httpClient = new HttpClient();
        HttpResponseMessage response = await httpClient.GetAsync(url);
...

log:

java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "NetSecurityNative_ReleaseGssBuffer" referenced by "/data/app/~~_hCuGvWNt7FUSKreU2epaw==/z.z.filemanager-2IGsbPHIkvgi6H9EG_jTcA==/lib/arm64/libhello-jni.so"...
                                                                                                    	at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
                                                                                                    	at java.lang.Runtime.loadLibrary0(Runtime.java:998)
                                                                                                    	at java.lang.System.loadLibrary(System.java:1661)

I found out that the " libSystem.Net.Security. Native.a " Under the x64 and glibc directory

There is no bionic directory under the table ($ bflat $ \ lib \ linux \ arm64 \ bionic )