flutter_speech_to_text icon indicating copy to clipboard operation
flutter_speech_to_text copied to clipboard

google-services.json missing?

Open akk99 opened this issue 4 years ago • 0 comments

Hi I have forked the project via github into android studio 3.

Here are the system messages:

Launching lib\main.dart on Android SDK built for x86 64 in debug mode... [!] Your app isn't using AndroidX. To avoid potential build failures, you can quickly migrate your app by following the steps on https://goo.gl/CP92wY. Running Gradle task 'assembleDebug'... Checking the license for package Android SDK Platform 27 in C:\Users\TOTAL\AppData\Local\Android\Sdk\licenses License for package Android SDK Platform 27 accepted. Preparing "Install Android SDK Platform 27 (revision: 3)". "Install Android SDK Platform 27 (revision: 3)" ready. Installing Android SDK Platform 27 in C:\Users\TOTAL\AppData\Local\Android\Sdk\platforms\android-27 "Install Android SDK Platform 27 (revision: 3)" complete. "Install Android SDK Platform 27 (revision: 3)" finished. registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:processDebugGoogleServices'.

File google-services.json is missing. The Google Services Plugin cannot function without it. Searched Location: C:\Users\TOTAL\FlutterPro\flutter-firebasemlkit\android\app\src\nullnull\debug\google-services.json C:\Users\TOTAL\FlutterPro\flutter-firebasemlkit\android\app\src\debug\nullnull\google-services.json C:\Users\TOTAL\FlutterPro\flutter-firebasemlkit\android\app\src\nullnull\google-services.json C:\Users\TOTAL\FlutterPro\flutter-firebasemlkit\android\app\src\debug\google-services.json C:\Users\TOTAL\FlutterPro\flutter-firebasemlkit\android\app\src\nullnullDebug\google-services.json C:\Users\TOTAL\FlutterPro\flutter-firebasemlkit\android\app\google-services.json

  • 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 2m 44s Exception: Gradle task assembleDebug failed with exit code 1

How to make the app work without the file?

akk99 avatar Jun 01 '20 15:06 akk99