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

No internet on emulator #348

Open
JoshLudahl opened this issue Sep 8, 2023 · 6 comments
Open

No internet on emulator #348

JoshLudahl opened this issue Sep 8, 2023 · 6 comments

Comments

@JoshLudahl
Copy link

When running tests, it detects the emulators have no internet connection. Is this disabled by default or is there a work-around?

Pixel 5 API 31. Tried a few devices.

@TobiGr
Copy link

TobiGr commented Sep 21, 2023

Same happens with my tests. They fail regularly because of this.

@groot007
Copy link

groot007 commented Oct 12, 2023

same for me

I've tried to add DNS to host
etworksetup -setdnsservers Ethernet 8.8.8.8

also tried to add
emulator-options: -dns-server 8.8.8.8

but nothing helped

my configuration - macOs latest
` - name: Check connection on emulator

    uses: reactivecircus/android-emulator-runner@v2

    with:

      api-level: 31

      arch: x86_64

      profile: Nexus 6

      avd-name: ${{ steps.device.outputs.AVD_NAME }}

      force-avd-creation: false

      disable-animations: true

      emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none

      script: adb shell ping -c 4 8.8.8.8

`

@ShadyH20
Copy link

Same for me. Have you found a solution yet?

@JoshLudahl
Copy link
Author

JoshLudahl commented Jan 22, 2024 via email

@gcohen-dev
Copy link

gcohen-dev commented Feb 7, 2024

This is happening on macOS and Ubuntu, any workaround?

@theolm
Copy link

theolm commented Sep 27, 2024

Same here. Any suggestions on how to make this work?

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

6 participants