facebookincubator / fbjni

A library designed to simplify the usage of the Java Native Interface
Apache License 2.0
266 stars 47 forks source link

Build issues since fbjni 0.5.0 release #84

Closed erksch closed 1 year ago

erksch commented 1 year ago

Issue description

Since the release of fbjni 0.5.0 an hour ago, we have some issues building our React Native app. This may not be an issue on fbjni site but rather bad semantic version ranging in react-native-vision-camera

FAILURE: Build failed with an exception.
* Where:
Build file '/builds/X/node_modules/react-native-vision-camera/android/build.gradle' line: 570
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
* What went wrong:
Execution failed for task ':react-native-vision-camera:extractAARHeaders'.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
> Could not resolve all files for configuration ':react-native-vision-camera:extractHeaders'.
   > Could not find fbjni-0.5.0-headers.jar (com.facebook.fbjni:fbjni:0.5.0).
See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings
     Searched in the following locations:
         https://repo.maven.apache.org/maven2/com/facebook/fbjni/fbjni/0.5.0/fbjni-0.5.0-headers.jar

I see the fbjni-X-headers.jar have been removed in 0.5.0, it was present in 0.4.0.

System Info

Please include your compiler version and target platform

erksch commented 1 year ago

I see there are already people over at vision camera filing issues:

https://github.com/mrousavy/react-native-vision-camera/issues/1664

erksch commented 1 year ago

Problem is on vision camera, closing.