gev2002 / react-native-vision-camera-v3-face-detection

https://www.npmjs.com/package/react-native-vision-camera-v3-face-detection
MIT License
8 stars 1 forks source link

eas build failed due to react native vision camera v3 face detection, org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction #6

Open wajahat959 opened 3 months ago

wajahat959 commented 3 months ago

FAILURE: Build failed with an exception.

gev2002 commented 3 months ago

Hi, can you show logcat output.

michelorth commented 2 months ago

same problem

FAILURE: Build failed with an exception.

gev2002 commented 2 months ago

I can't understand error with only one line. Execution failed for task ':react-native-vision-camera-v3-face-detection:compileDebugKotlin'. You should show all logcat output. So that I can somehow understand what the mistake is.

michelorth commented 2 months ago

Here is the output when running npx react-native run-android

"react-native-worklets-core": "0.4.0", "react-native-vision-camera": "4.5.3", "react-native-vision-camera-v3-face-detection": "1.1.3",

info A dev server is already running for this project on port 8081. info Installing the app... Configuration on demand is an incubating feature. Path for java installation '/usr/lib/jvm/openjdk-11' (Common Linux Locations) does not contain a java executable Path for java installation '/usr/lib/jvm/openjdk-17' (Common Linux Locations) does not contain a java executable

Configure project :react-native-reanimated Android gradle plugin: 8.2.1 Gradle: 8.6

Configure project :react-native-vision-camera [VisionCamera] Thank you for using VisionCamera ❤️ [VisionCamera] If you enjoy using VisionCamera, please consider sponsoring this project: https://github.com/sponsors/mrousavy [VisionCamera] node_modules found at /home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules [VisionCamera] VisionCamera_enableFrameProcessors is set to true! [VisionCamera] react-native-worklets-core found, Frame Processors are enabled! [VisionCamera] VisionCamera_enableCodeScanner is set to false! Path for java installation '/usr/lib/jvm/openjdk-17' (Common Linux Locations) does not contain a java executable Path for java installation '/usr/lib/jvm/openjdk-11' (Common Linux Locations) does not contain a java executable

Task :react-native-vision-camera:configureCMakeDebug[armeabi-v7a] C/C++: VisionCamera: Frame Processors: ON! C/C++: VisionCamera: Linking react-native-worklets...

Task :react-native-vision-camera-v3-face-detection:compileDebugKotlin FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.6/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. 532 actionable tasks: 42 executed, 490 up-to-date

info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor

e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:14:28 Unresolved reference: frameprocessor e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:15:28 Unresolved reference: frameprocessor e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:16:28 Unresolved reference: frameprocessor e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:17:28 Unresolved reference: types e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:19:50 Unresolved reference: VisionCameraProxy e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:19:98 Unresolved reference: FrameProcessorPlugin e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:21:3 'callback' overrides nothing e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:21:32 Unresolved reference: Frame e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:37:27 Unresolved reference: Orientation e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionPackage.kt:7:28 Unresolved reference: frameprocessor e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionPackage.kt:14:7 Unresolved reference: FrameProcessorPluginRegistry e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionPackage.kt:14:74 Cannot infer a type for this parameter. Please specify it explicitly. e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionPackage.kt:14:80 Cannot infer a type for this parameter. Please specify it explicitly.

FAILURE: Build failed with an exception.

BUILD FAILED in 15s error Failed to install the app. Command failed with exit code 1: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:14:28 Unresolved reference: frameprocessor e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:15:28 Unresolved reference: frameprocessor e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:16:28 Unresolved reference: frameprocessor e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:17:28 Unresolved reference: types e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:19:50 Unresolved reference: VisionCameraProxy e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:19:98 Unresolved reference: FrameProcessorPlugin e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:21:3 'callback' overrides nothing e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:21:32 Unresolved reference: Frame e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionModule.kt:37:27 Unresolved reference: Orientation e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionPackage.kt:7:28 Unresolved reference: frameprocessor e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionPackage.kt:14:7 Unresolved reference: FrameProcessorPluginRegistry e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionPackage.kt:14:74 Cannot infer a type for this parameter. Please specify it explicitly. e: file:///home/michel/Desenvolvimento/SVN/icarus/trunk/IcarusMobileTotemV3/PontoIcarus/node_modules/react-native-vision-camera-v3-face-detection/android/src/main/java/com/visioncamerav3facedetection/VisionCameraV3FaceDetectionPackage.kt:14:80 Cannot infer a type for this parameter. Please specify it explicitly. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':react-native-vision-camera-v3-face-detection:compileDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction > Compilation error. See log for more details * 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 15s.