You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 11, 2023. It is now read-only.
Compiler message:
Error: Could not resolve the package 'firebase_ui' in 'package:firebase_ui/flutter_firebase_ui.dart'.
Error: Could not resolve the package 'firebase_ui' in 'package:firebase_ui/l10n/localization.dart'.
Error: Could not resolve the package 'flutter_localizations' in 'package:flutter_localizations/flutter_localizations.dart'.
lib/main.dart:5:8: Error: Not found: 'package:firebase_ui/flutter_firebase_ui.dart'
import 'package:firebase_ui/flutter_firebase_ui.dart';
^
lib/main.dart:6:8: Error: Not found: 'package:firebase_ui/l10n/localization.dart'
import 'package:firebase_ui/l10n/localization.dart';
^
lib/main.dart:7:8: Error: Not found: 'package:flutter_localizations/flutter_localizations.dart'
import 'package:flutter_localizations/flutter_localizations.dart';
^
lib/main.dart:21:9: Error: The getter 'GlobalMaterialLocalizations' isn't defined for the class 'MyApp'.
'MyApp' is from 'package:flutter_auth_ui_lib_test/main.dart' ('lib/main.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'GlobalMaterialLocalizations'.
GlobalMaterialLocalizations.delegate,
^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/main.dart:22:9: Error: The getter 'GlobalWidgetsLocalizations' isn't defined for the class 'MyApp'.
'MyApp' is from 'package:flutter_auth_ui_lib_test/main.dart' ('lib/main.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'GlobalWidgetsLocalizations'.
GlobalWidgetsLocalizations.delegate,
^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/main.dart:23:9: Error: The getter 'FFULocalizations' isn't defined for the class 'MyApp'.
'MyApp' is from 'package:flutter_auth_ui_lib_test/main.dart' ('lib/main.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'FFULocalizations'.
FFULocalizations.delegate,
^^^^^^^^^^^^^^^^
lib/main.dart:67:18: Error: Method not found: 'SignInScreen'.
return new SignInScreen(
^^^^^^^^^^^^
lib/main.dart:144:5: Error: The method 'signOutProviders' isn't defined for the class 'HomeScreen'.
'HomeScreen' is from 'package:flutter_auth_ui_lib_test/main.dart' ('lib/main.dart').
Try correcting the name to the name of an existing method, or defining a method named 'signOutProviders'.
signOutProviders();
^^^^^^^^^^^^^^^^
U
nhandled exception:
FileSystemException(uri=org-
dartlang-untranslatable-uri:package%3Afirebase_ui%2Fflutter_firebase_ui.dart; message=StandardFileSystem only supports file:* and data:* URIs)
#0 StandardFileSystem.entityForUri
(package:front_end/src/api_prototype/standard_file_system.dart:33:7) showbar should marked with @required #1 asFileUri (package:vm/kernel_front_end.dart:604:37) Can you update the dependencies? #2 w
riteDepfile (package:vm/kernel_front_end.dart:799:21)
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1
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.
BUILD FAILED in 16s
Finished with error: Gradle task assembleDebug failed with exit code 1
Everything above is when I copied the project into a new project to have the latest changes in dart
I've actually successfully run your example directly, I just haven't yet connected it to firebase and tried out the google_services.json but I will do that next, otherwise it won't log in
I have tried updating the pupspec but I got the warnings in the title,
then I corrected the pubspec to look like this
cupertino_icons: ^0.1.3
flutter_twitter: ^1.1.3
firebase_auth: ^0.6.2+1
google_sign_in: ^3.2.1
flutter_facebook_login: ^1.1.1
flutter_firebase_ui: ^0.0.13
Then I'm getting
Invalid depfile: D:\FlutterDell\Test126-6-FirebaseAutomaticLogin\firebase_ui_master_boki_test\flutter_auth_ui_lib_test.dart_tool\flutter_build\d34750081c0bbc5a511b8361c5470387\kernel_snapshot.d
Invalid depfile: D:\FlutterDell\Test126-6-FirebaseAutomaticLogin\firebase_ui_master_boki_test\flutter_auth_ui_lib_test.dart_tool\flutter_build\d34750081c0bbc5a511b8361c5470387\kernel_snapshot.d
Compiler message:
Error: Could not resolve the package 'firebase_ui' in 'package:firebase_ui/flutter_firebase_ui.dart'.
Error: Could not resolve the package 'firebase_ui' in 'package:firebase_ui/l10n/localization.dart'.
Error: Could not resolve the package 'flutter_localizations' in 'package:flutter_localizations/flutter_localizations.dart'.
lib/main.dart:5:8: Error: Not found: 'package:firebase_ui/flutter_firebase_ui.dart'
import 'package:firebase_ui/flutter_firebase_ui.dart';
^
lib/main.dart:6:8: Error: Not found: 'package:firebase_ui/l10n/localization.dart'
import 'package:firebase_ui/l10n/localization.dart';
^
lib/main.dart:7:8: Error: Not found: 'package:flutter_localizations/flutter_localizations.dart'
import 'package:flutter_localizations/flutter_localizations.dart';
^
lib/main.dart:21:9: Error: The getter 'GlobalMaterialLocalizations' isn't defined for the class 'MyApp'.
- 'MyApp' is from 'package:flutter_auth_ui_lib_test/main.dart' ('lib/main.dart').
- 'MyApp' is from 'package:flutter_auth_ui_lib_test/main.dart' ('lib/main.dart').
- 'MyApp' is from 'package:flutter_auth_ui_lib_test/main.dart' ('lib/main.dart').
- 'HomeScreen' is from 'package:flutter_auth_ui_lib_test/main.dart' ('lib/main.dart').
#3 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:472:15) #4 _FlutterFrontendCompiler.compile (package:flutter_frontend_server/server.dart:3 8:22) #5 starter (package:flutter_frontend_server/server.dart:149:27) #6 main (file:///C:/b/s/w/ir/cache/builder/src/flutter/flutter_frontend_server/bin/starter.dart:8:30) #7 _startIsolate. (dart:isolate-patch/isolate_patch.dart:305:32) #8 _RawReceivePortImpl._handleMe ssage (dart:isolate-patch/isolate_patch.dart:174:12)Try correcting the name to the name of an existing getter, or defining a getter or field named 'GlobalMaterialLocalizations'.
GlobalMaterialLocalizations.delegate,
^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/main.dart:22:9: Error: The getter 'GlobalWidgetsLocalizations' isn't defined for the class 'MyApp'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'GlobalWidgetsLocalizations'.
GlobalWidgetsLocalizations.delegate,
^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/main.dart:23:9: Error: The getter 'FFULocalizations' isn't defined for the class 'MyApp'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'FFULocalizations'.
FFULocalizations.delegate,
^^^^^^^^^^^^^^^^
lib/main.dart:67:18: Error: Method not found: 'SignInScreen'.
return new SignInScreen(
^^^^^^^^^^^^
lib/main.dart:144:5: Error: The method 'signOutProviders' isn't defined for the class 'HomeScreen'.
Try correcting the name to the name of an existing method, or defining a method named 'signOutProviders'.
signOutProviders();
^^^^^^^^^^^^^^^^
U
nhandled exception:
FileSystemException(uri=org-
dartlang-untranslatable-uri:package%3Afirebase_ui%2Fflutter_firebase_ui.dart; message=StandardFileSystem only supports file:* and data:* URIs)
#0 StandardFileSystem.entityForUri
(package:front_end/src/api_prototype/standard_file_system.dart:33:7)
showbar should marked with @required #1 asFileUri (package:vm/kernel_front_end.dart:604:37)
Can you update the dependencies? #2 w
riteDepfile (package:vm/kernel_front_end.dart:799:21)
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.
FAILURE: Build failed with an exception.
Where:
Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 780
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
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 16s
Finished with error: Gradle task assembleDebug failed with exit code 1
Everything above is when I copied the project into a new project to have the latest changes in dart
I've actually successfully run your example directly, I just haven't yet connected it to firebase and tried out the google_services.json but I will do that next, otherwise it won't log in