Skip to content

libp2p::development_transport got error on Android #2417

Closed Answered by dvc94ch
zemelLeong asked this question in Q&A
Discussion options

You must be logged in to vote

We should disable DNS on Android. If you build your own transport without DNS it should work. To actually implement this for Android it would require passing the jnienv and context to all platform specific code and likely some java code as not all of the android apis are jni friendly (for example when you need to create a subclass). the ndk on the other hand is very limited, exposing the bare minimum to create an egl surface for gamedev.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zemelLeong
Comment options

Answer selected by zemelLeong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants