libp2p::development_transport got error on Android #2417
-
Beta Was this translation helpful? Give feedback.
Answered by
dvc94ch
Dec 31, 2021
Replies: 1 comment 1 reply
-
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. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
zemelLeong
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.