-
Notifications
You must be signed in to change notification settings - Fork 29.6k
Closed
Labels
team-codelabsOwned by Codelabs teamOwned by Codelabs team
Description
Hi guys,
I'm trying the new flutter-firebase codelab but when I run my app with propers plugin imported ( step 6 ) here's what happen ( flutter run -v ):
[+5658 ms] google-services plugin could not detect any version for com.google.android.gms or com.google.firebase, default version: 9.0.0 will be used.
[ ] please apply google-services plugin at the bottom of the build file.
[ +68 ms] FAILURE: Build failed with an exception.
[ +1 ms] * Where:
[ +2 ms] Build file 'C:\Users\dario\Repos\friendlychat\android\build.gradle' line: 22
[ +1 ms] * What went wrong:
[ +1 ms] A problem occurred evaluating root project 'android'.
[ +1 ms] > A problem occurred configuring project ':app'.
[ +4 ms] > Failed to notify project evaluation listener.
[ +1 ms] > Could not resolve all dependencies for configuration ':app:_debugApk'.
[ +1 ms] > A problem occurred configuring project ':firebase_analytics'.
[ +1 ms] > Could not resolve all dependencies for configuration ':firebase_analytics:_debugPublishCopy'.
[ +1 ms] > Could not find com.google.firebase:firebase-auth:10.2.1.
[ +1 ms] Required by:
[ +4 ms] io.flutter.firebase_analytics:firebase_analytics:1.0-SNAPSHOT
[ +2 ms] > Could not find com.google.firebase:firebase-analytics:10.2.1.
[ +1 ms] Required by:
[ +2 ms] io.flutter.firebase_analytics:firebase_analytics:1.0-SNAPSHOT
[ +4 ms] > Could not get unknown property 'compileDebugJavaWithJavac' for project ':app' of type org.gradle.api.Project.
Notice that " apply plugin: 'com.google.gms.google-services' " definitely is at the bottom of my android/app/gradle
flutter analyze: No issues
flutter doctor:
[√] Flutter (on Microsoft Windows [Version 10.0.15063], channel alpha)
• Flutter at C:\Users\dario\Repos\flutter
• Framework revision dc4ca8db83 (13 days ago), 2017-05-11 15:33:29 -0700
• Engine revision f99d3ef108
• Tools Dart version 1.23.0-dev.11.11
[√] Android toolchain - develop for Android devices (Android SDK 25.0.3)
• Android SDK at C:\Users\dario\AppData\Local\Android\sdk
• Platform android-25, build-tools 25.0.3
• ANDROID_HOME = C:\Users\dario\AppData\Local\Android\sdk
• Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java
• Java version: OpenJDK Runtime Environment (build 1.8.0_76-release-b03)
[√] Android Studio (version 2.2)
• Android Studio at C:\Program Files\Android\Android Studio1
• Gradle version 2.14.1
• Java version: OpenJDK Runtime Environment (build 1.8.0_76-release-b03)
[-] IntelliJ IDEA Community Edition (version 2016.3)
• Dart plugin not installed; this adds Dart specific functionality.
• Flutter plugin not installed; this adds Flutter specific functionality.
• For information about managing plugins, see
https://www.jetbrains.com/help/idea/managing-plugins.html
[√] IntelliJ IDEA Ultimate Edition (version 2017.1)
• Dart plugin version 171.4424.63
• Flutter plugin version 13.1
[√] WebStorm (version 2017.1)
• Flutter plugin version 13.1
[√] Connected devices
• Moto G4 • ZY2239WT6B • android-arm • Android 7.1.2 (API 25)
Metadata
Metadata
Assignees
Labels
team-codelabsOwned by Codelabs teamOwned by Codelabs team