Open ahmedgulabkhan opened 4 years ago
@ahmedgulabkhan Launching lib\main.dart on sdk gphone x86 arm in debug mode... Running Gradle task 'assembleDebug'... ✓ Built build\app\outputs\flutter-apk\app-debug.apk. Installing build\app\outputs\flutter-apk\app.apk... Waiting for sdk gphone x86 arm to report its views... Debug service listening on ws://127.0.0.1:65280/yj6K69WaXFE=/ws Syncing files to device sdk gphone x86 arm...
════════ Exception caught by widgets library ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ The following FirebaseException was thrown building Builder: [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()
The relevant error-causing widget was: MaterialApp file:///C:/Users/aksha/Downloads/chatapp/chat_app_tutorial/lib/main.dart:13:12
When the exception was thrown, this was the stack:
... Normal element mounting (132 frames)
... Normal element mounting (258 frames)
(elided 11 frames from class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch)
════════════════════════════════════════════════════════════════════════════════════════════════════ ═══════════════════════════════════════════════════════ The following FirebaseException was thrown building Builder: [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()
The relevant error-causing widget was: MaterialApp file:///C:/Users/aksha/Downloads/chatapp/chat_app_tutorial/lib/main.dart:13:12 When the exception was thrown, this was the stack:
... I am getting this error
The following error shows while running the project with all the required dependencies. Error is present in the TextField() widget of the 'search.dart' file of this project.
════════ Exception caught by rendering library ═════════════════════════════════════════════════════ The following assertion was thrown during paint(): 'dart:ui/text.dart': Failed assertion: line 1372: '': is not true.
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause. In either case, please report this assertion by filing a bug on GitHub: https://github.com/flutter/flutter/issues/new?template=BUG.md