![]() ![]() ![]() Project.buildDir = "$"Īpp/adle def localProperties = new Properties()ĭef localPropertiesFile = rootProject.file('local. Project ':google_api_availability' -> :kotlin-gradle-plugin:1.2.71Ĭlasspath ':gradle:3.3.1'Ĭlasspath ':google-services:4.2.0' The following dependencies do not satisfy the required version: ![]() When I run flutter run I get The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.0 and higher. LocalPropertiesFile.I am trying to add firebase dependencies. Project.buildDir = "$"Īndroid/app/adle: def localProperties = new Properties()ĭef localPropertiesFile = rootProject.file('local.properties') Please find below the contents of the gradle files.Īndroid/gradle.properties: android.enableJetifier=trueĬlasspath ':gradle:3.2.1'Ĭlasspath ":kotlin-gradle-plugin:$kotlin_version"Ĭlasspath ':google-services:4.3.2' The readme doc for firebasecrashlytics says add: classpath ':google-services:4.2.0' but on the Firebase Flutter setup page. So I used it in adle and this is what I got: Searched about this, saw that :google-services:4.3.0 fixes this problem. cc./cache. RegisterGeneratedResFolders(FileCollection) Gradle task assembleDebug Is deprecated, use registerGeneratedResFolders(FileCollection) RegisterGeneratedResFolders(FileCollection) registerResGeneratingTask RegisterResGeneratingTask is deprecated, use The latest update to the play-services-basement library improves the performance of connecting to Google Play services. If prompted, accept the Firebase terms, but skip setup of Google Analytics because you won't be use it for this app. Click through the project creation options. In the Project name field, enter Firebase-Flutter-Codelab and then click Continue. ![]() I searched about this error and found some answers instructing to switch to :google-services:4.2.0 from :google-services:4.3.2. 2 Answers Sorted by: 1 So I was able to solve this by first updating my firebasemessaging version in pubspec.yaml to firebasemessaging: 13.0. In the console, click Add Project or Create a project. Please review your Gradle project setup in the android/ folder. documentation p: firebase Firebase plugins. Projects\MyProject\android\gradlew.bat app:properties The google-services.json file should be placed in the (FLUTTER PROJECT ROOT)/android / app folder and the (FLUTTER PROJECT ROOT)/ios / Runner directory should be placed in ist. Run with -info or -debug option to get more log output. First of all, we need to put in our project the documents that we downloaded. Try: Run with -stacktrace option to get the stack trace. What went wrong: A problem occurred evaluating project ':app'. Where: Build file 'E:\My Projects\MyProject\android\app\adle' line: 24 Error running Gradle: ProcessException: Process "E:\My Projects\MyProject\android\gradlew.bat" exited abnormally:.This page is archived and might not reflect the latest version of the FlutterFire plugins. When I run the app, it is giving me the error: The official Firebase plugins for Flutter. I have done the steps mentioned in the official guide to integrate Firebase into Flutter. 2 Answers Sorted by: 1 So I was able to solve this by first updating my firebasemessaging version in pubspec.yaml to firebasemessaging: 13.0. The latest update to the play-services-auth library includes the following changes: Deprecated the APIs related to the verified phone number feature. Before integrating, I have migrated my project to AndroidX from Android Studio. You will be logged in to the Firebase console where you need to set up your project. Now you need to do following changes in project-level adle file. Just like this- Then click on Next button. I am trying to integrate Firebase into my existing Flutter application. Visit and log in with your Google account credentials. you need to download this google-services.json file and paste it inside android>app section. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |