-
Couldn't load subscription status.
- Fork 1.9k
Description
Description
Detox build for Android not working in CICD pipeline
When the command to run detox for Android it fails after some time, with below error logs
w: file:///home/runner/work/BrightlayerHome/BrightlayerHome/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/react/CameraViewManager.kt:38:47 'class MapBuilder : Any' is deprecated. Deprecated in Java.
w: file:///home/runner/work/BrightlayerHome/BrightlayerHome/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/react/CameraViewManager.kt:39:50 'class MapBuilder : Any' is deprecated. Deprecated in Java.
w: file:///home/runner/work/BrightlayerHome/BrightlayerHome/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/react/CameraViewManager.kt:40:50 'class MapBuilder : Any' is deprecated. Deprecated in Java.
w: file:///home/runner/work/BrightlayerHome/BrightlayerHome/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/react/CameraViewManager.kt:41:60 'class MapBuilder : Any' is deprecated. Deprecated in Java.
w: file:///home/runner/work/BrightlayerHome/BrightlayerHome/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/react/CameraViewManager.kt:42:61 'class MapBuilder : Any' is deprecated. Deprecated in Java.
w: file:///home/runner/work/BrightlayerHome/BrightlayerHome/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/react/CameraViewManager.kt:43:47 'class MapBuilder : Any' is deprecated. Deprecated in Java.
Task :react-native-vision-camera:javaPreCompileDebug FROM-CACHE
Task :react-native-vision-camera:compileDebugJavaWithJavac
Task :react-native-vision-camera:bundleLibCompileToJarDebug
Task :react-native-webview:checkKotlinGradlePluginConfigurationErrors SKIPPED
Task :react-native-webview:generateDebugBuildConfig
Task :react-native-screens:compileDebugKotlin
Important: 'detox build' is a convenience shortcut for calling your own build command, as provided in the config file.
Failures in this build command are not the responsibility of Detox. You are responsible for maintaining this command.
Command failed: cd android && ./gradlew assembleAlphaDebug assembleAlphaDebugAndroidTest -DtestBuildType=debug
Your environment
Detox version: 20.41.1
React Native version: 0.79.5
Node version:
Device model:
OS: ubuntu
Test-runner (select one): jest