排毒不运行测试安卓

如何解决排毒不运行测试安卓

尝试运行 Detox 测试时 detox 构建成功,但尝试运行 detox 测试时 面临以下错误测试没有开始运行。

模拟器启动应用程序,但没有任何反应。 下一个错误导致测试失败:thrown:“钩子的超时时间超过 20000 毫秒。 如果这是一个长时间运行的测试,请使用 jest.setTimeout(newTimeout) 增加超时值。"

"排毒": "^18.10.0","jest": "^26.6.3","jest-circus": "^26.6.3","笑话酶": "7.1.2","jest-react-native": "18.0.0",

文件 config.json:

{
    "testEnvironment": "./environment","testRunner": "jest-circus/runner","testTimeout": 20000,"testRegex": "\\.e2e\\.js$","setupFilesAfterEnv": ["./init.js"],"reporters": ["detox/runners/jest/streamlineReporter"],"verbose": true
}

配置:

{
  "testRunner": "jest","runnerConfig": "e2e/config.json","apps": {
    "ios": {
      "type": "ios.app","binaryPath": "SPECIFY_PATH_TO_YOUR_APP_BINARY"
    },"android.release": {
      "type": "android.apk","binaryPath": "android/app/build/outputs/apk/release/app-release.apk","build": "cd android ;gradlew assembleRelease assembleAndroidTest -DtestBuildType=release ; cd -"
    }
  },"devices": {
    "simulator": {
      "type": "ios.simulator","device": {
        "type": "iPhone 11"
      }
    },"emulator": {
      "type": "android.emulator","device": {
        "avdName": "Pixel_4_API_30"
      }
    }
  },"configurations": {
    "ios": {
      "device": "simulator","app": "ios"
    },"android": {
      "device": "emulator","app": "android.release"
    }
  }
}

下面我的日志:

    detox[9708] TRACE: [DETOX_CREATE] created a Detox instance with config:
{"artifactsConfig":{"rootDir":"artifacts\\android.2021-04-12 09-44-47Z","plugins":{"log":{"enabled":true,"keepOnlyFailedTestsArtifacts":false},"screenshot":{"enabled":true,"shouldTakeAutomaticSnapshots":false,"video":{"enabled":false,"instruments":{"enabled":false,"timeline":{"enabled":false},"uiHierarchy":{"enabled":false,"keepOnlyFailedTestsArtifacts":false}},"pathBuilder":{"_rootDir":"artifacts\\android.2021-04-12 09-44-47Z"}},"appsConfig":{"default":{"type":"android.apk","binaryPath":"android/app/build/outputs/apk/release/app-release.apk","build":"cd android ; ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release ; cd -"}},"behaviorConfig":{"init":{"reinstallApp":true,"exposeGlobals":true},"cleanup":{"shutdownDevice":false},"launchApp":"auto"},"cliConfig":{"recordLogs":"all","configuration":"android","forceAdbInstall":"false","useCustomLogger":"true"},"deviceConfig":{"type":"android.emulator","device":{"avdName":"Pixel_3a_API_30"}},"runnerConfig":{"testRunner":"jest","runnerConfig":"e2e/config.json","specs":"e2e"},"sessionConfig":{"autoStart":true,"server":"ws://localhost:53589","sessionId":"3f56222d-1837-1181-1d54-929f3a445ad9","debugSynchronization":10000},"errorComposer":{"configurationName":"android","filepath":"C:\\Users\\User\\Desktop\\Training\\rn_training\\.detoxrc.json","contents":{"testRunner":"jest","apps":{"ios":{"type":"ios.app","binaryPath":"SPECIFY_PATH_TO_YOUR_APP_BINARY"},"android.release":{"type":"android.apk","devices":{"simulator":{"type":"ios.simulator","device":{"type":"iPhone 11"}},"emulator":{"type":"android.emulator","device":{"avdName":"Pixel_3a_API_30"}}},"configurations":{"ios":{"device":"simulator","app":"ios"},"android":{"device":"emulator","app":"android.release"}}},"_extends":false}}
detox[9708] DEBUG: [DetoxServer.js] Detox server listening on localhost:53589...
detox[9708] TRACE: [WS_OPEN] opened web socket to: ws://localhost:53589
detox[9708] TRACE: [WS_SEND] {"type":"login","params":{"sessionId":"3f56222d-1837-1181-1d54-929f3a445ad9","role":"tester"},"messageId":0}
detox[9708] TRACE: [GET_FROM,#53590] {"type":"login","messageId":0}
detox[9708] TRACE: [SESSION_CREATED] created session 3f56222d-1837-1181-1d54-929f3a445ad9
detox[9708] TRACE: [SEND_TO,#tester] {"type":"loginSuccess","params":{"testerConnected":true,"appConnected":false},"messageId":0}
detox[9708] TRACE: [SESSION_JOINED] tester joined session 3f56222d-1837-1181-1d54-929f3a445ad9
detox[9708] TRACE: [WS_MESSAGE] {"type":"loginSuccess","messageId":0}
 
detox[9708] DEBUG: [EXEC_CMD,#0] "C:\Users\User\AppData\Local\Android\Sdk\emulator\emulator.EXE" -list-avds --verbose
detox[9708] TRACE: [EXEC_SUCCESS,#0] Pixel_3a_API_30

detox[9708] DEBUG: [EXEC_CMD,#1] "C:\Users\User\AppData\Local\Android\Sdk\emulator\emulator.EXE" -version 
detox[9708] TRACE: [EXEC_SUCCESS,#1] Android emulator version 30.5.4.0 (build_id 7243153) (CL:N/A)
Copyright (C) 2006-2017 The Android Open Source Project and many others.
This program is a derivative of the QEMU CPU emulator (www.qemu.org).

  This software is licensed under the terms of the GNU General Public
  License version 2,as published by the Free Software Foundation,and
  may be copied,distributed,and modified under those terms.

  This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

emulator: Android emulator version 30.5.4.0 (build_id 7243153) (CL:N/A)

detox[9708] DEBUG: [EMU_BIN_VERSION_DETECT] Detected emulator binary version { major: 30,minor: 5,patch: 4,toString: [Function: toString] }
detox[9708] DEBUG: [ALLOCATE_DEVICE] Trying to allocate a device based on "Pixel_3a_API_30"
detox[9708] DEBUG: [EXEC_CMD,#2] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE"  devices
detox[9708] DEBUG: [EXEC_SUCCESS,#2] List of devices attached
emulator-12384  device


detox[9708] TRACE: [TELNET_CONNECTING] port: 12384,host: localhost
detox[9708] DEBUG: [DEVICE_LOOKUP] Found a matching & free device emulator-12384
detox[9708] DEBUG: [ALLOCATE_DEVICE] Settled on emulator-12384
detox[9708] DEBUG: [EXEC_CMD,#3] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "getprop dev.bootcomplete"
detox[9708] TRACE: [EXEC_SUCCESS,#3] 1

detox[9708] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBootDevice({
  coldBoot: false,deviceId: 'emulator-12384',type: 'Pixel_3a_API_30'
})
detox[9708] DEBUG: [EXEC_CMD,#4] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "getprop ro.build.version.sdk"
detox[9708] TRACE: [EXEC_SUCCESS,#4] 30

detox[9708] DEBUG: [EXEC_CMD,#5] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "settings put global animator_duration_scale 0"
detox[9708] TRACE: [EXEC_SUCCESS,#5] 
detox[9708] DEBUG: [EXEC_CMD,#6] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "settings put global window_animation_scale 0"
detox[9708] TRACE: [EXEC_SUCCESS,#6] 
detox[9708] DEBUG: [EXEC_CMD,#7] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "settings put global transition_animation_scale 0"
detox[9708] TRACE: [EXEC_SUCCESS,#7] 
detox[9708] DEBUG: [EXEC_CMD,#8] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "dumpsys power | grep \"^[ ]*m[UW].*=\""
detox[9708] TRACE: [EXEC_SUCCESS,#8]   mWakefulness=Awake
  mWakefulnessChanging=false
  mWakeLockSummary=0x1
  mUserActivitySummary=0x1
  mWakeUpWhenPluggedOrUnpluggedConfig=false
  mWakeUpWhenPluggedOrUnpluggedInTheaterModeConfig=false
  mDreamsBatteryLevelMinimumWhenPoweredConfig=-1
  mDreamsBatteryLevelMinimumWhenNotPoweredConfig=15
  mScreenBrightnessOverrideFromWindowManager=NaN
  mUserActivityTimeoutOverrideFromWindowManager=-1
  mUserInactiveOverrideFromWindowManager=false
  mUserId=0

detox[9708] DEBUG: [EXEC_CMD,#9] "C:\Users\User\AppData\Local\Android\Sdk\build-tools\31.0.0-rc2\aapt.EXE" dump badging "C:\Users\User\Desktop\Training\rn_training\android\app\build\outputs\apk\release\app-release.apk" | findstr /C:"package: name="
detox[9708] TRACE: [EXEC_SUCCESS,#9] package: name='com.realproapp' versionCode='1' versionName='2.0' compileSdkVersion='29' compileSdkVersionCodename='10'

detox[9708] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBeforeTerminateApp({ deviceId: 'emulator-12384',bundleId: 'com.realproapp' })
detox[9708] DEBUG: [EXEC_CMD,#10] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "am force-stop com.realproapp"
detox[9708] TRACE: [EXEC_SUCCESS,#10] 
detox[9708] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onTerminateApp({ deviceId: 'emulator-12384',bundleId: 'com.realproapp' })
detox[9708] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBeforeUninstallApp({ deviceId: 'emulator-12384',#11] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "pm list packages com.realproapp"
detox[9708] TRACE: [EXEC_SUCCESS,#11] package:com.realproapp
package:com.realproapp.test

detox[9708] DEBUG: [EXEC_CMD,#12] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 uninstall com.realproapp
detox[9708] TRACE: [EXEC_SUCCESS,#12] Success

detox[9708] DEBUG: [EXEC_CMD,#13] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "pm list packages com.realproapp.test"
detox[9708] TRACE: [EXEC_SUCCESS,#13] package:com.realproapp.test

detox[9708] DEBUG: [EXEC_CMD,#14] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 uninstall com.realproapp.test
detox[9708] TRACE: [EXEC_SUCCESS,#14] Success

detox[9708] DEBUG: [EXEC_CMD,#15] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "rm -fr /data/local/tmp/detox"
detox[9708] TRACE: [EXEC_SUCCESS,#15] 
detox[9708] DEBUG: [EXEC_CMD,#16] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "mkdir -p /data/local/tmp/detox"
detox[9708] TRACE: [EXEC_SUCCESS,#16] 
detox[9708] DEBUG: [EXEC_CMD,#17] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 push "C:\Users\User\Desktop\Training\rn_training\android\app\build\outputs\apk\release\app-release.apk" "/data/local/tmp/detox/Application.apk"
detox[9708] TRACE: [EXEC_SUCCESS,#17] C:\Users\User\Desktop\Training\rn_training\android\app\build\outputs\apk\release\app-release.apk: 1 file pushed,0 skipped. 85.0 MB/s (34223065 bytes in 0.384s)

detox[9708] DEBUG: [EXEC_CMD,#18] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "pm install -r -g -t /data/local/tmp/detox/Application.apk"
detox[9708] TRACE: [EXEC_SUCCESS,#18] Success

detox[9708] DEBUG: [EXEC_CMD,#19] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 push "C:\Users\User\Desktop\Training\rn_training\android\app\build\outputs\apk\androidTest\release\app-release-androidTest.apk" "/data/local/tmp/detox/Test.apk"
detox[9708] TRACE: [EXEC_SUCCESS,#19] C:\Users\User\Desktop\Training\rn_training\android\app\build\outputs\apk\androidTest\release\app-release-androidTest.apk: 1 file pushed,0 skipped. 231.0 MB/s (979454 bytes in 0.004s)

detox[9708] DEBUG: [EXEC_CMD,#20] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "pm install -r -g -t /data/local/tmp/detox/Test.apk"
detox[9708] TRACE: [EXEC_SUCCESS,#20] Success

ROOT_DESCRIBE_BLOCK[9708] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onRunDescribeStart({ name: 'ROOT_DESCRIBE_BLOCK' })
Login[9708] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onRunDescribeStart({ name: 'Login' })
detox[9708] INFO:  [97mLogin[39m is assigned to [94memulator-12384 (Pixel_3a_API_30)[39m
detox[9708] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBeforeTerminateApp({ deviceId: 'emulator-12384',#21] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "am force-stop com.realproapp"
detox[9708] TRACE: [EXEC_SUCCESS,#21] 
detox[9708] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onTerminateApp({ deviceId: 'emulator-12384',bundleId: 'com.realproapp' })
detox[9708] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBeforeLaunchApp({
  deviceId: 'emulator-12384',bundleId: 'com.realproapp',launchArgs: {
    detoxServer: 'ws://localhost:53589',detoxSessionId: '3f56222d-1837-1181-1d54-929f3a445ad9'
  }
})
detox[9708] DEBUG: [EXEC_CMD,#22] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "date +\"%m-%d %T.000\""
detox[9708] TRACE: [EXEC_SUCCESS,#22] 04-12 12:44:59.000

detox[9708] DEBUG: [EXEC_CMD,#23] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 reverse tcp:53589 tcp:53589
detox[9708] TRACE: [EXEC_SUCCESS,#23] 53589

detox[9708] DEBUG: [EXEC_CMD,#24] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "pm list instrumentation"
detox[9708] TRACE: [EXEC_SUCCESS,#24] instrumentation:com.realproapp.test/androidx.test.runner.AndroidJUnitRunner (target=com.realproapp)

detox[9708] DEBUG: [SPAWN_CMD,#8424] C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-12384 shell am instrument -w -r -e detoxServer ws://localhost:53589 -e detoxSessionId 3f56222d-1837-1181-1d54-929f3a445ad9 -e debug false com.realproapp.test/androidx.test.runner.AndroidJUnitRunner
detox[9708] DEBUG: [EXEC_CMD,#25] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "ps | grep \"com\.realproapp$\""
detox[9708] TRACE: [EXEC_SUCCESS,#25] u0_a157       13836    273 1292400 111140 0                   0 R com.realproapp

detox[13836] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onLaunchApp({
  deviceId: 'emulator-12384',detoxSessionId: '3f56222d-1837-1181-1d54-929f3a445ad9'
  },pid: 13836
})
detox[9708] TRACE: [ARTIFACT_START] starting ADBLogcatRecording
detox[9708] DEBUG: [SPAWN_CMD,#5304] C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-12384 shell "logcat -T \"04-12 12:44:59.000\" --pid=13836 -f /sdcard/124449147_0.log"
detox[9708] DEBUG: [EXEC_CMD,#26] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell du /sdcard/124449147_0.log
detox[9708] TRACE: [EXEC_SUCCESS,#26] 4    /sdcard/124449147_0.log

detox[9708] TRACE: [SPAWN_STDOUT,#8424] INSTRUMENTATION_STATUS: class=com.realproapp.DetoxTest
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
INSTRUMENTATION_STATUS: numtests=1

detox[9708] TRACE: [SPAWN_STDOUT,#8424] INSTRUMENTATION_STATUS: stream=
com.realproapp.DetoxTest:
INSTRUMENTATION_STATUS: test=runDetoxTests
INSTRUMENTATION_STATUS_CODE: 1

detox[9708] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onHookFailure({
  error: 'Exceeded timeout of 120000 ms for a hook.\n' +
    'Use jest.setTimeout(newTimeout) to increase the timeout value,if this is a long-running test.',hook: 'beforeAll'
})
detox[9708] INFO:  [1m[37mLogin: [39m[22m[90mПроверка когда введены корректные данные - 1[39m
detox[9708] INFO:  [1m[37mLogin: [39m[22m[90mПроверка когда введены корректные данные - 1[39m[90m [[31mFAIL[90m][39m
Login[9708] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onRunDescribeFinish({ name: 'Login' })
ROOT_DESCRIBE_BLOCK[9708] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onRunDescribeFinish({ name: 'ROOT_DESCRIBE_BLOCK' })
detox[9708] TRACE: [ARTIFACTS_LIFECYCLE] artifactsManager.onBeforeCleanup()
detox[9708] TRACE: [ARTIFACT_SAVE] saving ADBLogcatRecording to: artifacts\android.2021-04-12 09-44-47Z\emulator-12384 2021-04-12 09-47-00Z.startup.log
detox[9708] TRACE: [ARTIFACT_STOP] stopping ADBLogcatRecording
detox[9708] DEBUG: [EXEC_CMD,#27] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "date +\"%m-%d %T.000\""
detox[9708] TRACE: [EXEC_SUCCESS,#27] 04-12 12:46:59.000

detox[9708] TRACE: [SPAWN_KILL,#5304] sending SIGINT to: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-12384 shell logcat -T "04-12 12:44:59.000" --pid=13836 -f /sdcard/124449147_0.log
detox[9708] DEBUG: [SPAWN_END,#5304] C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-12384 shell "logcat -T \"04-12 12:44:59.000\" --pid=13836 -f /sdcard/124449147_0.log" terminated with SIGINT
detox[9708] DEBUG: [EXEC_CMD,#28] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 pull "/sdcard/124449147_0.log" "artifacts\android.2021-04-12 09-44-47Z\emulator-12384 2021-04-12 09-47-00Z.startup.log"
detox[9708] TRACE: [EXEC_SUCCESS,#28] /sdcard/124449147_0.log: 1 file pulled,0 skipped. 38.8 MB/s (87335 bytes in 0.002s)

detox[9708] DEBUG: [EXEC_CMD,#29] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 shell "rm  \"/sdcard/124449147_0.log\""
detox[9708] TRACE: [EXEC_SUCCESS,#29] 
detox[9708] TRACE: [ARTIFACT_START] starting FileArtifact
detox[9708] TRACE: [ARTIFACT_STOP] stopping FileArtifact
detox[9708] TRACE: [ARTIFACT_SAVE] saving FileArtifact to: artifacts\android.2021-04-12 09-44-47Z\detox_pid_9708.json.log { append: true }
detox[9708] TRACE: [ARTIFACT_START] starting FileArtifact
detox[9708] TRACE: [ARTIFACT_STOP] stopping FileArtifact
detox[9708] TRACE: [ARTIFACT_SAVE] saving FileArtifact to: artifacts\android.2021-04-12 09-44-47Z\detox_pid_9708.log { append: true }
detox[9708] DEBUG: [MOVE_FILE] moving "C:\Users\User\AppData\Local\Temp\d806cdfb-ef4f-45e8-8d26-94ebe09f4b85.detox.log" to artifacts\android.2021-04-12 09-44-47Z\detox_pid_9708.log
detox[9708] DEBUG: [MOVE_FILE] moving "C:\Users\User\AppData\Local\Temp\d9d9ef07-bb46-4682-9d0e-dfb97b991550.detox.log" to artifacts\android.2021-04-12 09-44-47Z\detox_pid_9708.json.log
detox[9708] ERROR: [APP_UNREACHABLE] Failed to reach the app over the web socket connection.

HINT: 

1. If you don't see your app running on the device,there's a chance
   that your app has crashed prematurely. To get the crash details,you can run Detox tests with "--record-logs all" CLI option
   and then inspect the device logs in the artifacts folder.

2. If your app IS running on the device,yet you see this message:
a) The native part of Detox failed to connect to the Detox server over
   web sockets. If this is the case,the device's logs should contain
   messages about those failed connection attempts.

b) The app is running without Detox native code injected.
   Make sure you don't launch it manually. If you don't,examine the logs
   from the device. If you see a crash related to Detox native code,you
   are welcome to report it on our GitHub tracker.
   In case if you are debugging your native code integration with Detox,these guides may prove helpful:

   * https://github.com/wix/Detox/blob/master/docs/Guide.DebuggingInAndroidStudio.md
   * https://github.com/wix/Detox/blob/master/docs/Guide.DebuggingInXcode.md


detox[9708] TRACE: [SESSION_TORN] tester exited session 3f56222d-1837-1181-1d54-929f3a445ad9
detox[9708] TRACE: [SPAWN_KILL,#8424] sending SIGINT to: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-12384 shell am instrument -w -r -e detoxServer ws://localhost:53589 -e detoxSessionId 3f56222d-1837-1181-1d54-929f3a445ad9 -e debug false com.realproapp.test/androidx.test.runner.AndroidJUnitRunner
detox[9708] DEBUG: [SPAWN_END,#8424] C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE -s emulator-12384 shell am instrument -w -r -e detoxServer ws://localhost:53589 -e detoxSessionId 3f56222d-1837-1181-1d54-929f3a445ad9 -e debug false com.realproapp.test/androidx.test.runner.AndroidJUnitRunner terminated with SIGINT
detox[9708] DEBUG: [EXEC_CMD,#30] "C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.EXE" -s emulator-12384 reverse --remove tcp:53589
detox[9708] DEBUG: [SERVER_CLOSE] Detox server has been closed gracefully
detox[9708] TRACE: [EXEC_SUCCESS,#30] 

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


使用本地python环境可以成功执行 import pandas as pd import matplotlib.pyplot as plt # 设置字体 plt.rcParams['font.sans-serif'] = ['SimHei'] # 能正确显示负号 p
错误1:Request method ‘DELETE‘ not supported 错误还原:controller层有一个接口,访问该接口时报错:Request method ‘DELETE‘ not supported 错误原因:没有接收到前端传入的参数,修改为如下 参考 错误2:cannot r
错误1:启动docker镜像时报错:Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen 解决方法:重启docker -> systemctl r
错误1:private field ‘xxx‘ is never assigned 按Altʾnter快捷键,选择第2项 参考:https://blog.csdn.net/shi_hong_fei_hei/article/details/88814070 错误2:启动时报错,不能找到主启动类 #
报错如下,通过源不能下载,最后警告pip需升级版本 Requirement already satisfied: pip in c:\users\ychen\appdata\local\programs\python\python310\lib\site-packages (22.0.4) Coll
错误1:maven打包报错 错误还原:使用maven打包项目时报错如下 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources)
错误1:服务调用时报错 服务消费者模块assess通过openFeign调用服务提供者模块hires 如下为服务提供者模块hires的控制层接口 @RestController @RequestMapping("/hires") public class FeignControl
错误1:运行项目后报如下错误 解决方案 报错2:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sb 解决方案:在pom.
参考 错误原因 过滤器或拦截器在生效时,redisTemplate还没有注入 解决方案:在注入容器时就生效 @Component //项目运行时就注入Spring容器 public class RedisBean { @Resource private RedisTemplate<String
使用vite构建项目报错 C:\Users\ychen\work>npm init @vitejs/app @vitejs/create-app is deprecated, use npm init vite instead C:\Users\ychen\AppData\Local\npm-
参考1 参考2 解决方案 # 点击安装源 协议选择 http:// 路径填写 mirrors.aliyun.com/centos/8.3.2011/BaseOS/x86_64/os URL类型 软件库URL 其他路径 # 版本 7 mirrors.aliyun.com/centos/7/os/x86
报错1 [root@slave1 data_mocker]# kafka-console-consumer.sh --bootstrap-server slave1:9092 --topic topic_db [2023-12-19 18:31:12,770] WARN [Consumer clie
错误1 # 重写数据 hive (edu)> insert overwrite table dwd_trade_cart_add_inc > select data.id, > data.user_id, > data.course_id, > date_format(
错误1 hive (edu)> insert into huanhuan values(1,'haoge'); Query ID = root_20240110071417_fe1517ad-3607-41f4-bdcf-d00b98ac443e Total jobs = 1
报错1:执行到如下就不执行了,没有显示Successfully registered new MBean. [root@slave1 bin]# /usr/local/software/flume-1.9.0/bin/flume-ng agent -n a1 -c /usr/local/softwa
虚拟及没有启动任何服务器查看jps会显示jps,如果没有显示任何东西 [root@slave2 ~]# jps 9647 Jps 解决方案 # 进入/tmp查看 [root@slave1 dfs]# cd /tmp [root@slave1 tmp]# ll 总用量 48 drwxr-xr-x. 2
报错1 hive> show databases; OK Failed with exception java.io.IOException:java.lang.RuntimeException: Error in configuring object Time taken: 0.474 se
报错1 [root@localhost ~]# vim -bash: vim: 未找到命令 安装vim yum -y install vim* # 查看是否安装成功 [root@hadoop01 hadoop]# rpm -qa |grep vim vim-X11-7.4.629-8.el7_9.x
修改hadoop配置 vi /usr/local/software/hadoop-2.9.2/etc/hadoop/yarn-site.xml # 添加如下 <configuration> <property> <name>yarn.nodemanager.res