Open tranzmatt opened 3 months ago
Haven't try gradle 9.0 but these -api dependencies often cause problems. can you try to comment implementation("org.tensorflow:tensorflow-lite-api:2.16.1"), it won't affect the code.
I modified your working YOLOv8-TfLite-Object-Detector, updated gradle to 8.5.1 and merged it into this repo and it works. I also renamed yolov8tflite to yolov8objectdetection for more clarity. I can do a PR if you want and let you cherry pick.
$:~/StudioProjects/YOLO-android/YOLOv8-Object-Detector-Android-Tflite$ ./gradlew build Configuration on demand is an incubating feature.
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:compileDebugKotlin'.
Try:
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.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.