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

Discovery on Android emulator? #166

Open
jkoutavas opened this issue Oct 7, 2021 · 3 comments
Open

Discovery on Android emulator? #166

jkoutavas opened this issue Oct 7, 2021 · 3 comments

Comments

@jkoutavas
Copy link

jkoutavas commented Oct 7, 2021

My React Native app does fine discovering my bonjour service on iOS simulator, iOS hardware, and Android hardware, but doesn't succeed with discovery on Android emulator. Is there some kind of a configuration thing I can do to get this to work on emulator, or is it a known limitation?

I'm running the emulator on macOS with Android Studio.

@DennisSnijder
Copy link
Contributor

@jkoutavas try Genymotion's emulator, they have support for mDNS discovery using adb bridge commands. It takes some tweaking to make it actually work, but it's possible. Best recommendation imo is to buy a simple android phone for testing.

@dbreton333
Copy link

Can't you use adb bridge on android emulator? @jkoutavas have you found a solution, I have the same issue...

@IsaaX
Copy link

IsaaX commented Apr 4, 2023

I hhaven't seen a working example of NSD working on android. Here are some additional information for those who are curious
https://developer.android.com/studio/run/emulator-networking

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

4 participants