luicfrr / react-native-vision-camera-face-detector

Vision Camera Frame Processor Plugin to detect faces using MLKit Face Detector
https://www.npmjs.com/package/react-native-vision-camera-face-detector
MIT License
100 stars 21 forks source link

[BUG 🐛] Could not get unknown property 'kotlinVersion' #90

Open longb1997 opened 2 weeks ago

longb1997 commented 2 weeks ago

Hello, i just installed this lib and run yarn android, but it's can't build. Only happen on Android

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/mobile/dev/mini-app-checkin/node_modules/react-native-vision-camera-face-detector/android/build.gradle' line: 17

* What went wrong:
A problem occurred evaluating project ':react-native-vision-camera-face-detector'.
> Could not get unknown property 'kotlinVersion' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

Device:

package.json file:

longb1997 commented 2 weeks ago

holy sh*t, @luicfrr your repo was invaded by bots

luicfrr commented 1 week ago

Can you please check if this fix this issue?

michelorth commented 4 days ago

same problem, I try https://github.com/luicfrr/react-native-vision-camera-face-detector/issues/71#issuecomment-2186614831 but not work