React Native Android Detox E2E

Hi

My build URL

https://app.bitrise.io/build/3733a2562bc0e4cf#?tab=log

I am trying to run detox e2e tests on android.

I am able to verify that a emulator is created with the correct name based by running

avdmanager list avd
Name: Nexus_5X_API_28
  Device: Nexus 5 (Google)
    Path: /Users/vagrant/.android/avd/Nexus_5X_API_28.avd
  Target: Google APIs (Google Inc.)
          Based on: Android API 28 Tag/ABI: google_apis/x86_64

and in my detoxrc.json (https://github.com/anli/rna-kdm/blob/develop/.detoxrc.json)

...
"android.emu.release": {
      "binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
      "build": "cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..",
      "type": "android.emulator",
      "device": {
        "avdName": "Nexus_5X_API_28"
      }
    }

Using bitrise and running it locally works fine.

Wondering is this a possible known issue or is there any further steps I can take to troubleshoot or resolve this.

Thanks in advance!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.