Closed mike1573 closed 4 years ago
Hi,
Make sure you are using
classpath 'com.google.gms:google-services:4.2.0'
in your project level gradle. if not try with these versions of the dependencies.
firebase_core: ^0.4.0
firebase_analytics: ^5.0.0
cloud_firestore: ^0.12.9
firebase_auth: ^0.14.0
google_sign_in: ^4.0.1
firebase_storage: ^3.0.5
firebase_messaging: ^5.1.3
firebase_crashlytics: ^0.1.0+2
Hi,
Make sure you are using
classpath 'com.google.gms:google-services:4.2.0'
in your project level gradle. if not try with these versions of the dependencies.
firebase_core: ^0.4.0
firebase_analytics: ^5.0.0
cloud_firestore: ^0.12.9
firebase_auth: ^0.14.0
google_sign_in: ^4.0.1
firebase_storage: ^3.0.5
firebase_messaging: ^5.1.3
firebase_crashlytics: ^0.1.0+2
Hi ThuAbLKA, I added.... implementation 'com.google.firebase:firebase-storage:19.1.0' in the dependencies under the app\src\build.gradle and it worked for the android app, got everything deployed ok as per the documentation. I'll play with your advised settings to get it done the correct way.
As I tested out the application, all seems to to be working except the user profile button/screen which gave "Bad state: No element" all the way down the screen (red background). Do you know if that should work normally?
Thanks
Hi mike1573,
Yes the user profile screen should work. The only crucial feature that is missing is the "no-data" screen. Other than that everything else should work as expected.
Thanks ThuAbLKA. I'll dig around on this and come back with a new ticket if I need some help (which should be soon).
Regards
Description:
Hi I'm new to Flutter and Dart. I installed the environment as described in the documetation and resolved a a few errors related to;
1) FirebaseStorage unresolved reference:
I've updated the dependencies as follows; Firebase dependencies firebase_core: ^0.4.0+9 firebase_analytics: ^5.0.2 cloud_firestore: ^0.12.9+5 firebase_auth: ^0.14.0+5 google_sign_in: ^4.0.1 firebase_storage: ^3.0.5 firebase_messaging: ^5.1.3 firebase_crashlytics: ^0.1.0+2
2) Execution failed for task ':app:compileDebugKotlin'
Updated the kotlin_version by upgrading to 1.3.50. Resolved some errors, others in the logs remains.
Any assistance or pointing in the right direction would be greatly appreciated. Thanks!
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Application should launch on Android emulator
Device Information:
Flutter Information
flutter doctor
output Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel unknown, v1.10.5, on Microsoft Windows [Version 6.1.7601] , locale en-US) [√] Android toolchain - develop for Android devices (Android SDK version 29.0. 2) [√] Android Studio (version 3.5) [√] VS Code, 64-bit edition (version 1.40.1) [√] Connected device (1 available)• No issues found!
Logs
Additional context
Add any other context about the problem here.