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

Not found 'NetSecurityNative' #191

Open
fluttergo opened this issue Mar 1, 2024 · 0 comments
Open

Not found 'NetSecurityNative' #191

fluttergo opened this issue Mar 1, 2024 · 0 comments

Comments

@fluttergo
Copy link

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 )

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

1 participant