mrousavy / react-native-vision-camera

📸 A powerful, high-performance React Native Camera library.
https://react-native-vision-camera.com
MIT License
7.54k stars 1.1k forks source link

🔧 Execution failed for task ':react-native-vision-camera:compileReleaseKotlin'. #2903

Closed flessard closed 5 months ago

flessard commented 5 months ago

How were you trying to build the app?

I try to build my app with expo command : eas build --profile production --platform android --local --clear-cache but i got compile error :

FAILURE: Build failed with an exception. [RUN_GRADLEW] * What went wrong: [RUN_GRADLEW] Execution failed for task ':react-native-vision-camera:compileReleaseKotlin'. [RUN_GRADLEW] > A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction [RUN_GRADLEW] > Compilation error. See log for more details [RUN_GRADLEW] * Try: [RUN_GRADLEW] > Run with --stacktrace option to get the stack trace. [RUN_GRADLEW] > Run with --info or --debug option to get more log output.

Full build logs

[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:199:36 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:203:14 This API is experimental. It may be changed in the future without notice.
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:203:52 Parameter 'transition' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:207:14 This API is experimental. It may be changed in the future without notice.
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:207:42 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:211:14 This API is experimental. It may be changed in the future without notice.
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:211:42 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:215:14 This API is experimental. It may be changed in the future without notice.
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:215:48 Parameter 'transition' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:219:14 This API is experimental. It may be changed in the future without notice.
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:219:38 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:223:53 Parameter 'transition' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:227:43 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:231:43 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:235:51 Parameter 'transition' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:239:41 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:243:41 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:247:38 Parameter 'rasterColor' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:251:62 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:255:62 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:259:70 Parameter 'transition' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:263:66 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:267:74 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:271:90 Parameter 'transition' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:275:73 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:279:45 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:283:47 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:287:60 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:291:60 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:295:84 Parameter 'transition' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:299:74 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:303:79 Parameter 'transition' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:307:69 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:311:69 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:315:77 Parameter 'transition' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:319:67 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:323:67 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:327:76 Parameter 'transition' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:331:72 Parameter 'transition' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:335:62 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:339:62 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:343:80 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:347:80 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:351:85 Parameter 'transition' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:355:75 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:359:75 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:363:83 Parameter 'transition' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:367:58 Parameter 'value' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:371:59 Parameter 'transition' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:375:49 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:379:49 Parameter 'expression' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:383:55 Parameter 'transition' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:387:47 Parameter 'value' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt:391:57 Parameter 'transition' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/style.kt:7:43 Parameter 'id' is never used
[RUN_GRADLEW] w: file:///private/var/folders/tf/mn7y87ks0j112k2l95f0_0140000gn/T/eas-build-local-nodejs/1daa6cc1-e676-41a9-9233-5e21677c9c88/build/node_modules/@rnmapbox/maps/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/style.kt:7:55 Parameter 'config' is never used
[RUN_GRADLEW] > Task :app:createReleaseUpdatesResources
[RUN_GRADLEW] > Task :app:createBundleReleaseJsAndAssets_SentryUploadCleanUp SKIPPED
[RUN_GRADLEW] FAILURE: Build failed with an exception.
[RUN_GRADLEW] * What went wrong:
[RUN_GRADLEW] Execution failed for task ':react-native-vision-camera:compileReleaseKotlin'.
[RUN_GRADLEW] > A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
[RUN_GRADLEW]    > Compilation error. See log for more details
[RUN_GRADLEW] * Try:
[RUN_GRADLEW] > Run with --stacktrace option to get the stack trace.
[RUN_GRADLEW] > Run with --info or --debug option to get more log output.
[RUN_GRADLEW] > Run with --scan to get full insights.
[RUN_GRADLEW] > Get more help at https://help.gradle.org.
[RUN_GRADLEW] BUILD FAILED in 1m 39s
[RUN_GRADLEW] Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
[RUN_GRADLEW] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[RUN_GRADLEW] 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.
[RUN_GRADLEW] 626 actionable tasks: 626 executed
[RUN_GRADLEW] Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

Build failed
Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.
npx exited with non-zero code: 1
    Error: build command failed.

Process finished with exit code 1

Project dependencies

"dependencies": {
    "@apollo/client": "^3.10.4",
    "@gorhom/bottom-sheet": "^5.0.0-alpha.9",
    "@hookform/resolvers": "^3.4.0",
    "@react-native-async-storage/async-storage": "1.23.1",
    "@react-native-community/netinfo": "11.3.1",
    "@react-native-picker/picker": "2.7.5",
    "@react-navigation/bottom-tabs": "^6.5.11",
    "@react-navigation/native": "^6.0.11",
    "@react-navigation/native-stack": "^6.7.0",
    "@rnmapbox/maps": "^10.1.24",
    "@sentry/react-native": "~5.22.0",
    "@shopify/flash-list": "1.6.4",
    "@stripe/stripe-react-native": "0.37.2",
    "@turf/helpers": "^6.5.0",
    "@turf/length": "^6.5.0",
    "@turf/midpoint": "^6.5.0",
    "@turf/turf": "^6.5.0",
    "dayjs": "^1.11.11",
    "deep-cleaner": "^2.0.0-alpha.3",
    "deep-object-diff": "^1.1.9",
    "dotenv": "^16.4.5",
    "expo": "^51.0.8",
    "expo-application": "~5.9.1",
    "expo-blur": "~13.0.2",
    "expo-constants": "~16.0.1",
    "expo-crypto": "~13.0.2",
    "expo-dev-client": "~4.0.14",
    "expo-device": "~6.0.2",
    "expo-document-picker": "~12.0.1",
    "expo-file-system": "~17.0.1",
    "expo-haptics": "~13.0.1",
    "expo-image": "~1.12.9",
    "expo-image-picker": "~15.0.5",
    "expo-linear-gradient": "~13.0.2",
    "expo-linking": "~6.3.1",
    "expo-localization": "~15.0.3",
    "expo-location": "~17.0.1",
    "expo-navigation-bar": "~3.0.4",
    "expo-notifications": "~0.28.3",
    "expo-secure-store": "~13.0.1",
    "expo-splash-screen": "~0.27.4",
    "expo-status-bar": "~1.12.1",
    "expo-system-ui": "~3.0.4",
    "expo-updates": "~0.25.14",
    "expo-web-browser": "~13.0.3",
    "fast-sort": "^3.4.0",
    "graphql": "^16.8.1",
    "graphql-ws": "^5.16.0",
    "i18next": "^23.11.4",
    "immer": "^10.1.1",
    "lodash": "^4.17.21",
    "moti": "0.29.0",
    "numeral": "^2.0.6",
    "path-browserify": "^1.0.1",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-hook-form": "^7.51.4",
    "react-i18next": "^14.1.1",
    "react-native": "0.74.1",
    "react-native-color-toolkit": "^1.3.1",
    "react-native-date-picker": "^5.0.2",
    "react-native-gesture-handler": "~2.16.1",
    "react-native-image-viewing": "^0.2.2",
    "react-native-mask-input": "^1.2.3",
    "react-native-mime-types": "^2.5.0",
    "react-native-progress": "^5.0.1",
    "react-native-reanimated": "~3.10.1",
    "react-native-safe-area-context": "4.10.1",
    "react-native-screens": "3.31.1",
    "react-native-shadow-2": "^7.0.8",
    "react-native-store-version": "^1.4.1",
    "react-native-svg": "15.2.0",
    "react-native-vision-camera": "4.0.5",
    "realm": "^12.6.2",
    "semver": "^7.6.2",
    "tiny-clean-object": "^1.4.0",
    "ts-deepmerge": "^7.0.0",
    "zod": "^3.23.8",
    "zustand": "^4.5.2"
  },

VisionCamera Version

4.0.5

Target platforms

Android

Operating system

MacOS

Can you build the VisionCamera Example app?

No, I cannot build the Example app either

Additional information

coderjinhui commented 5 months ago

same with me!!!!! but the task is :react-native-vision-camera:compileDebugKotlin FAILED

coderjinhui commented 5 months ago

I think the document should update the version limitation. As I find the old issue form #2783 You can see this library currently is not supported when RN > 0.74 !!! Fix with downgrade to 0.73. Really missing the important information in documentation!

flessard commented 5 months ago

If i downgrade to 0.73, work fine...Thanks