如果不重新加载捆绑包,排毒测试不会在react原生android设备上运行

如果不重新加载捆绑包,排毒测试不会在react原生android设备上运行,android,react-native,detox,Android,React Native,Detox,我正在尝试在react原生android设备上运行排毒测试 测试未运行,解毒跟踪显示“无法前进: 如果在不同的终端中,我启动react native bundle并按“R”重新加载它,测试开始运行 随附以下跟踪信息: detox[97978] DEBUG: [exec.js/EXEC_CMD, #21] "/Android/sdk/platform-tools/adb" -s emulator-17722 shell "date +\"%m-%d %T.0

我正在尝试在react原生android设备上运行排毒测试

测试未运行,解毒跟踪显示“无法前进:

如果在不同的终端中,我启动react native bundle并按“R”重新加载它,测试开始运行

随附以下跟踪信息:

detox[97978] DEBUG: [exec.js/EXEC_CMD, #21] "/Android/sdk/platform-tools/adb" -s emulator-17722 shell "date +\"%m-%d %T.000\""
detox[97978] DEBUG: [exec.js/EXEC_CMD, #22] "/Android/sdk/platform-tools/adb" -s emulator-17722 reverse tcp:64867 tcp:64867
detox[97978] DEBUG: [exec.js/EXEC_CMD, #23] "/Android/sdk/platform-tools/adb" -s emulator-17722 shell "pm list instrumentation"
detox[97978] DEBUG: [exec.js/SPAWN_CMD, #24] [pid=98010] /Android/sdk/platform-tools/adb -s emulator-17722 shell am instrument -w -r -e detoxServer ws://localhost:64867 -e detoxSessionId 2f0e4128-30e3-0737-4ac0-74907e3abed9 -e debug false com.aaa.myWireless.test/androidx.test.runner.AndroidJUnitRunner
detox[97978] DEBUG: [exec.js/EXEC_CMD, #25] "/Android/sdk/platform-tools/adb" -s emulator-17722 shell "ps | grep \"com\.aaa\.myWireless$\""
detox[97978] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=testee not connected, cannot fw action (sessionId=2f0e4128-30e3-0737-4ac0-74907e3abed9)
任何建议如何让排毒工作,而不需要手动重新加载捆绑包

还尝试:

beforeEach(async () => {
    await device.reloadReactNative();
});
但这没有帮助