这边用as打开tensorflow lite官网的demo,运行报错如下:
A build operation failed.
Could not create task ‘:app:processDebugResources’.
Could not create task ‘:app:processDebugResources’.
Cannot use @TaskAction annotation on method IncrementalTask.taskAction$gradle_core() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.
as版本:Android Studio Iguana | 2023.2.1
tensorflow lite官网demo:https://github.com/tensorflow/examples/tree/master/lite/examples/image_classification/android_java