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
I'm currently going through the Flutter Firebase codelab step_5_data_syncing.
Downloaded the sample code for the firebase codelab.
Tried to run step 5 on my Android device.
I've followed all the steps, but I'm getting the following error :
Analyzing /Users/Bourrhia/IdeaProjects/myfirstfriendlychat...
error • The argument type '(BuildContext, DataSnapshot, Animation<double>) → ChatMessage' can't be assigned to the parameter type '(BuildContext, DataSnapshot, Animation<double>, int) → Widget' at lib/main.dart:135:15 • argument_type_not_assignable
error • Target of URI doesn't exist: 'package:flutter_test/flutter_test.dart' at test/widget_test.dart:8:8 • uri_does_not_exist
error • The function 'testWidgets' isn't defined at test/widget_test.dart:13:3 • undefined_function
error • Undefined class 'WidgetTester' at test/widget_test.dart:13:49 • undefined_class
error • Undefined class 'MyApp' at test/widget_test.dart:15:33 • undefined_class
error • The function 'expect' isn't defined at test/widget_test.dart:18:5 • undefined_function
error • Undefined name 'find' at test/widget_test.dart:18:12 • undefined_identifier
error • Undefined name 'findsOneWidget' at test/widget_test.dart:18:28 • undefined_identifier
error • The function 'expect' isn't defined at test/widget_test.dart:19:5 • undefined_function
error • Undefined name 'find' at test/widget_test.dart:19:12 • undefined_identifier
error • Undefined name 'findsNothing' at test/widget_test.dart:19:28 • undefined_identifier
error • Undefined name 'find' at test/widget_test.dart:22:22 • undefined_identifier
error • The function 'expect' isn't defined at test/widget_test.dart:26:5 • undefined_function
error • Undefined name 'find' at test/widget_test.dart:26:12 • undefined_identifier
error • Undefined name 'findsNothing' at test/widget_test.dart:26:28 • undefined_identifier
error • The function 'expect' isn't defined at test/widget_test.dart:27:5 • undefined_function
error • Undefined name 'find' at test/widget_test.dart:27:12 • undefined_identifier
error • Undefined name 'findsOneWidget' at test/widget_test.dart:27:28 • undefined_identifier
hint • The top level variable '_name' isn't used at lib/main.dart:31:14 • unused_element
hint • Unused import: 'package:myfirstfriendlychat/main.dart' at test/widget_test.dart:10:8 • unused_import
20 issues found.
(Ran in 7.8s)
Flutter Doctor
[✓] Flutter (Channel beta, v0.2.3, on Mac OS X 10.13.3 17D47, locale fr-FR)
• Flutter version 0.2.3 at /USERS/Bourrhia/Documents/Web_dev/Flutter_apps/flutter
• Framework revision 5a58b36e36 (3 weeks ago), 2018-03-13 13:20:13 -0700
• Engine revision e61bb9ac3a
• Dart version 2.0.0-dev.35.flutter-290c576264
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/Bourrhia/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.4.0
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] IntelliJ IDEA Community Edition (version 2018.1)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 23.1.3
• Dart plugin version 181.4203.498
[✓] Connected devices (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)
• No issues found!
The text was updated successfully, but these errors were encountered:
The original Firebase+Flutter codelab has been obsoleted and replaced by another Firebase+Flutter codelab, at the same URL. (Baby name vote generator.)
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Uh oh!
There was an error while loading. Please reload this page.
Steps to Reproduce
Hi,
I'm currently going through the Flutter Firebase codelab step_5_data_syncing.
Downloaded the sample code for the firebase codelab.
Tried to run step 5 on my Android device.
I've followed all the steps, but I'm getting the following error :
Logs
# flutter analyze
Flutter Doctor
The text was updated successfully, but these errors were encountered: