报错如下
I/flutter (17064): 创建imClient :
I/flutter (17064): LC.RTM.Exception(
I/flutter (17064): code: 0,
I/flutter (17064): essage: java.lang.IllegalStateException: Connection Lost,
I/flutter (17064): details: Connection Lost,
I/flutter (17064): )
报错代码
Client imClient = Client(id: currentUser.objectId!);
await imClient.open();
参考文档: https://leancloud.cn/docs/sdk_setup-flutter.html#hash6626731941
机器环境
$ flutter --version
Flutter 3.3.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision d9111f6402 (10 weeks ago) • 2022-10-19 12:27:13 -0700
Engine • revision 3ad69d7be3
Tools • Dart 2.18.2 • DevTools 2.15.0
android 创建方式为: flutter create -a java .
-
创建时间
22年12月28日
-
最后回复
24年10月18日
-
4
回复
-
1.1K
浏览
-
3
用户
-
2
链接