【发布时间】:2020-04-16 06:44:47
【问题描述】:
尝试在我的 android 设备上运行 detox 并遇到以下错误:
> Configure project :react-native-firebase
react-native-firebase: using React Native prebuilt binary from /Users/m/Desktop/alohapass-business/node_modules/react-native/android
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileStagingDebugAndroidTestJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:stagingDebugAndroidTestCompileClasspath'.
> Could not find any matches for com.wix:detox:+ as no versions of com.wix:detox are available.
Required by:
project :app
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 8s
我的build.gradle 中有androidTestImplementation('com.wix:detox:+') { transitive = true },并且正在运行./gradlew assembleAndroidTest。
有什么想法吗?
【问题讨论】:
标签: android firebase react-native gradle detox