-
Couldn't load subscription status.
- Fork 1.9k
Description
Did you test using the latest Detox?
- I have tested this issue on the latest Detox release and it still reproduces.
Did your test fail and you're not sure why?
- I have read the troubleshooting guide and it didn't help me.
What happened?
Detox for Android not working with New architecture in CICD
React native version: 0.79.5
Detox version: 20.41.1
Error message: 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
What was the expected behaviour?
No response
Help us reproduce this issue!
No response
In what environment did this happen?
Detox version:
React Native version:
Has Fabric (React Native's new rendering system) enabled: (yes/no)
Node version:
Device model:
Android version:
Test-runner (select one): jest / other
Detox logs
Detox logs
> Task :react-native-safe-area-context:compileDebugKotlin
w: file:///home/runner/work/BrightlayerHome/BrightlayerHome/node_modules/react-native-safe-area-context/android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaView.kt:59:23 'val uiImplementation: UIImplementation!' is deprecated. Deprecated in Java.
w: file:///home/runner/work/BrightlayerHome/BrightlayerHome/node_modules/react-native-safe-area-context/android/src/paper/java/com/th3rdwave/safeareacontext/InsetsChangeEvent.kt:19:16 This declaration overrides a deprecated member but is not marked as deprecated itself. Please add the '@Deprecated' annotation or suppress the diagnostic.
> Task :react-native-gesture-handler:compileDebugJavaWithJavac
Note: /home/runner/work/BrightlayerHome/BrightlayerHome/node_modules/react-native-gesture-handler/android/paper/src/main/java/com/swmansion/gesturehandler/NativeRNGestureHandlerModuleSpec.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :react-native-safe-area-context:javaPreCompileDebug FROM-CACHE
> Task :react-native-gesture-handler:bundleLibCompileToJarDebug
> Task :react-native-safe-area-context:compileDebugJavaWithJavac
Note: /home/runner/work/BrightlayerHome/BrightlayerHome/node_modules/react-native-safe-area-context/android/src/paper/java/com/th3rdwave/safeareacontext/NativeSafeAreaContextSpec.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :react-native-screens:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :react-native-safe-area-context:bundleLibCompileToJarDebug
> Task :react-native-screens:generateDebugBuildConfig
> Task :react-native-screens:javaPreCompileDebug FROM-CACHE
> Task :react-native-vector-icons:generateDebugBuildConfig
> Task :react-native-vector-icons:javaPreCompileDebug FROM-CACHE
Note: Some input files use or override a deprecated API.
> Task :react-native-vector-icons:compileDebugJavaWithJavac
Note: Recompile with -Xlint:deprecation for details.
> Task :react-native-vector-icons:bundleLibCompileToJarDebug
> Task :react-native-vision-camera:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :react-native-vision-camera:generateDebugBuildConfig
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
Device logs
Device logs
paste your device.log here!
More data, please!
No response