We are setting up android for our RN project, and am trying to solve for an issue where we have multiple Variants / Flavors on the app in our project, and we want to only build one for testing at a time.
Following the setup, the build completes successfully. With apks being pushed to android/app/build/outputs/apk/androidTest/flavor1/debug/app-flavor1-debug-androidTest.apk and android/app/build/outputs/apk/flavor1/debug/app-flavor1-debug.apk
One thing from my logs that I noticed in my logs is the userID -2 may be something of interest. But have not had time to look into that more deeply.
detoxLogs.txt
Description
Hi all,
We are setting up android for our RN project, and am trying to solve for an issue where we have multiple Variants / Flavors on the app in our project, and we want to only build one for testing at a time.
Following the setup, the build completes successfully. With apks being pushed to
android/app/build/outputs/apk/androidTest/flavor1/debug/app-flavor1-debug-androidTest.apk
andandroid/app/build/outputs/apk/flavor1/debug/app-flavor1-debug.apk
detoxrc.js
When running the tests we receive
When running
adb shell ps | grep com.package.flavor1
we receiveadb: more than one device/emulator
Our first test looks like with the first console log printing, but obviously not the second
Any additional trouble shooting would be greatly appreciated.
Thanks!
Your environment
Detox version: 20.20.0 React Native version: 0.71.15 Node version: 21.5.0 Device model: Pixel_6_Pro_API_34 OS: macOS Test-runner (select one): jest