Face-Recognition-Flutter icon indicating copy to clipboard operation
Face-Recognition-Flutter copied to clipboard

Need help to Solve this Error.

Open saadsafda opened this issue 3 years ago • 2 comments
trafficstars

I:\websites\flutter\Face-Recognition-Flutter>flutter run Using hardware rendering with device AOSP on IA Emulator. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering". Launching lib\main.dart on AOSP on IA Emulator in debug mode...

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • Where: Build file 'C:\src\flutter.pub-cache\hosted\pub.dartlang.org\firebase_ml_vision-0.12.0+3\android\build.gradle' line: 26

  • What went wrong: A problem occurred evaluating project ':firebase_ml_vision'.

Could not find the firebase_core FlutterFire plugin, have you added it as a dependency in your pubspec?

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ==============================================================================

2: Task failed with an exception.

  • What went wrong: A problem occurred configuring project ':firebase_ml_vision'.

compileSdkVersion is not specified.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. ==============================================================================

  • Get more help at https://help.gradle.org

BUILD FAILED in 2s Running Gradle task 'assembleDebug'... 3.8s Exception: Gradle task assembleDebug failed with exit code 1

saadsafda avatar Nov 23 '21 08:11 saadsafda

:firebase_ml_vision' has been discontnued and the the apis dont work. The total package with features migrated to google mlkit https://pub.dev/packages/firebase_ml_vision check this out

rjvysakh avatar Nov 24 '21 05:11 rjvysakh

I have resolved the error. Migrated to the Google ML Kit. Find my repo here: https://github.com/rjvysakh/Face-Recognition-Flutter

rjvysakh avatar Nov 24 '21 07:11 rjvysakh

Thanks @rjvysakh for the information

Rajatkalsotra avatar Oct 14 '22 04:10 Rajatkalsotra