无法在发布模式下运行Android排毒

时间:2018-11-01 09:01:15

标签: android react-native detox

复制步骤

排毒构建-配置android.emu.release 排毒测试-c android.emu.release

我的排毒配置:

  "detox": {
    "configurations": {
      "android.emu.debug": {
        "binaryPath": "android/app/build/outputs/apk/isracard/debug/app-isracard-debug.apk",
        "build":
        "cd android && ./gradlew assembleIsracardDebug assembleIsracardDebugAndroidTest -DtestBuildType=debug && cd ..",
        "type": "android.emulator",
        "name": "Nexus_6_API_25"
    },
    "android.emu.release": {
        "binaryPath": "android/app/build/outputs/apk/isracard/release/app-isracard-release.apk",
        "build":
        "cd android && ./gradlew assembleIsracardRelease assembleIsracardReleaseAndroidTest -DtestBuildType=release && cd ..",
        "type": "android.emulator",
        "name": "Nexus_6_API_25"
    }
    },
    "test-runner": "jest",
    "runner-config": "e2e/config.json"
  }

排毒,节点,设备,Xcode和macOS版本

排毒:9.0.5 React Native:0.57.3 节点:v10.4.1 设备:Nexus_6_API_25

设备和详细的排毒日志

失败:[错误:错误:找不到层次结构中符合以下条件的视图:(标记值为:“ modalButton”,并且视图具有有效的可见性= VISIBLE)

0 个答案:

没有答案