Open pankaj-vaishnaw opened 2 years ago
I will check out this issue i just have an issue with this project when i clone it says cant find the AndroidMai.xml file
I will check out this issue i just have an issue with this project when i clone it says cant find the AndroidMai.xml file
ya please tell me if get this this i m getting in stream chat flutter core package and all the errors from those auto generated files which is there in this package
Hi @pankaj-vaishnaw this is really strange. Which branch are you trying to use?
@MpresaFamDeveloper try removing the android library and running flutter create .
to recreate the platform folder
It may also be that you have an issue with your Firebase config. Please be sure to use the correct branch, depending on what you want to do, or which video you like to follow. Also, note that there may be breaking changes in the packages used. So be sure to use the versions that are in the relevant branches - if you want to follow it exactly
It may also be that you have an issue with your Firebase config. Please be sure to use the correct branch, depending on what you want to do, or which video you like to follow. Also, note that there may be breaking changes in the packages used. So be sure to use the versions that are in the relevant branches - if you want to follow it exactly
but sir i am still in the stream processing which is in the 2nd video . how the firebase could be a problem because I have not started the firebase connection yet please checkout the errors I have shared which are from the stream-chat-flutter-core package
Hi @pankaj-vaishnaw this is really strange. Which branch are you trying to use?
its a second video and the errors are from the package generated files @HayesGordon
Hi @pankaj-vaishnaw this is really strange. Which branch are you trying to use?
@MpresaFamDeveloper try removing the android library and running
flutter create .
to recreate the platform folder
I did try to run the flutter create
command but the same error kept on showing
hello i m trying to learn the same course and project and i m getting diffrent errors..@HayesGordon
Error: The getter 'accessToken' isn't defined for the class 'Future'.
../…/client/client.dart:290
: Error: The getter 'user' isn't defined for the class 'Future'.
../…/client/client.dart:292
'Future' is from 'dart:async'.
'ConnectGuestUserResponse' is from 'package:stream_chat/src/core/api/responses.dart' ('../../../Documents/flutter/.pub-cache/hosted/pub.dartlang.org/stream_chat-3.3.1/lib/src/core/api/responses.dart'). package:stream_chat/…/api/responses.dart:1 Try correcting the name to the name of an existing getter, or defining a getter or field named 'user'. guestUser.user,
: Error: A value of type 'Future' can't be assigned to a variable of type 'OwnUser?'.
../…/client/client.dart:330
'Future' is from 'dart:async'.
'OwnUser' is from 'package:stream_chat/src/core/models/own_user.dart' ('../../../Documents/flutter/.pub-cache/hosted/pub.dartlang.org/stream_chat-3.3.1/lib/src/core/models/own_user.dart'). package:stream_chat/…/models/own_user.dart:1 return state.currentUser = connectedUser;
: Error: The getter 'me' isn't defined for the class 'Future<Event?>'. ../…/client/client.dart:334
'Event' is from 'package:stream_chat/src/core/models/event.dart' ('../../../Documents/flutter/.pub-cache/hosted/pub.dartlang.org/stream_chat-3.3.1/lib/src/core/models/event.dart'). package:stream_chat/…/models/event.dart:1 Try correcting the name to the name of an existing getter, or defining a getter or field named 'me'. if (event != null) return ownUser.merge(event.me);
: Error: A non-null value must be returned since the return type 'OwnUser' doesn't allow null. ../…/client/client.dart:342
'OwnUser' is from 'package:stream_chat/src/core/models/own_user.dart' ('../../../Documents/flutter/.pub-cache/hosted/pub.dartlang.org/stream_chat-3.3.1/lib/src/core/models/own_user.dart'). package:stream_chat/…/models/own_user.dart:1
Future openConnection() async {
^
2
FAILURE: Build failed with an exception.
Where: Script 'C:\Users\admin\Documents\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1070
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 1m 0s Exception: Gradle task assembleDebug failed with exit code 1