flutter_tflite
flutter_tflite copied to clipboard
A problem occurred evaluating project ':tflite'.
A problem occurred evaluating project ':tflite'.
No signature of method: build_ep7m3kyu49yly4t2xg6i0r7qu.android() is applicable for argument types: (build_ep7m3kyu49yly4t2xg6i0r7qu$_run_closure2) values: [build_ep7m3kyu49yly4t2xg6i0r7qu$_run_closure2@1c7f614f]
Having same issue.
@chh0871 I was able to solve this by updating the build.gradle file of the package and changing the lines.
dependencies {
compile 'org.tensorflow:tensorflow-lite:+'
compile 'org.tensorflow:tensorflow-lite-gpu:+'
}
to
implementation 'org.tensorflow:tensorflow-lite:+'
implementation 'org.tensorflow:tensorflow-lite-gpu:+'
I got the hint by looking at the error stack trace and seeing that the complaint arose from the packages' build.gradle file. After this fix, I still had to change Compile SDK version of my app.
It's still not working for me even after adding the implementation part
Not working for me also
It worked
Can you tell me how?
Can you tell me how?
goto dart external libraries> flutter plugins > tflite-1.1.2> android> build.gradle
do the changes mentioned in above answers here.
I haven't fixed it yet
didn't work, is there any other solution?