|
You have a new support ticket from Victor
Here is what they said:
Please i am getting this error while trying to run (flutter run):
lib/home/calls/voice_call_screen.dart:4:8: Error: Error when reading
‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-6.1.0/lib/rtc_engine.dart’: The system cannot find
the file specified.
import ‘package:agora_rtc_engine/rtc_engine.dart’;
^
lib/home/calls/video_call_screen.dart:4:8: Error: Error when reading
‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-6.1.0/lib/rtc_engine.dart’: The system cannot find
the file specified.
import ‘package:agora_rtc_engine/rtc_engine.dart’;
^
lib/home/calls/video_call_screen.dart:5:8: Error: Error when reading
‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-6.1.0/lib/rtc_local_view.dart’: The system cannot
find the file specified.
import ‘package:agora_rtc_engine/rtc_local_view.dart’ as RtcLocalView;
^
lib/home/calls/video_call_screen.dart:6:8: Error: Error when reading
‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-6.1.0/lib/rtc_remote_view.dart’: The system cannot
find the file specified.
import ‘package:agora_rtc_engine/rtc_remote_view.dart’ as RtcRemoteView;
^
lib/home/live/live_streaming_screen.dart:13:8: Error: Error when reading
‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-6.1.0/lib/rtc_engine.dart’: The system cannot find
the file specified.
import ‘package:agora_rtc_engine/rtc_engine.dart’;
^
lib/home/live/live_streaming_screen.dart:14:8: Error: Error when reading
‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-6.1.0/lib/rtc_local_view.dart’: The system cannot
find the file specified.
import ‘package:agora_rtc_engine/rtc_local_view.dart’ as RtcLocalView;
^
lib/home/live/live_streaming_screen.dart:15:8: Error: Error when reading
‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-6.1.0/lib/rtc_remote_view.dart’: The system cannot
find the file specified.
import ‘package:agora_rtc_engine/rtc_remote_view.dart’ as RtcRemoteView;
^
lib/home/calls/voice_call_screen.dart:50:3: Error: Type ‘RtcEngine’ not found.
RtcEngine? _engine;
^^^^^^^^^
lib/home/calls/video_call_screen.dart:50:4: Error: Type ‘RtcEngine’ not found.
RtcEngine? _engine;
^^^^^^^^^
lib/home/live/live_streaming_screen.dart:61:8: Error: Type ‘RtcEngine’ not found.
late RtcEngine _engine;
^^^^^^^^^
lib/main.dart:71:20: Error: The method ‘webInitialize’ isn’t defined for the class ‘FacebookAuth’.
– ‘FacebookAuth’ is from ‘package:flutter_facebook_auth/flutter_facebook_auth.dart’
(‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_auth-5.0.7/lib/flutter_facebook_auth.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘webInitialize’.
FacebookAuth.i.webInitialize(
^^^^^^^^^^^^^
lib/auth/phone_login_screen.dart:164:30: Error: Required named parameter ‘auth’ must be provided.
RecaptchaVerifier(
^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4.2.4/lib/src/recaptcha_verifier.dart:48:11: Context:
Found this candidate, but the arguments don’t match.
factory RecaptchaVerifier({
^
lib/home/profile/image_crop_screen.dart:46:44: Error: The argument type ‘Image?’ can’t be assigned to the parameter type
‘Image’ because ‘Image?’ is nullable and ‘Image’ isn’t.
– ‘Image’ is from ‘dart:ui’.
final result = await _saveCroppedImage(cropped);
^
lib/home/web/web_url_screen.dart:99:13: Error: The method ‘WebView’ isn’t defined for the class ‘_WebViewScreenState’.
– ‘_WebViewScreenState’ is from ‘package:heyto/home/web/web_url_screen.dart’ (‘lib/home/web/web_url_screen.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘WebView’.
WebView(
^^^^^^^
lib/home/web/web_url_screen.dart:102:31: Error: The getter ‘JavascriptMode’ isn’t defined for the class
‘_WebViewScreenState’.
– ‘_WebViewScreenState’ is from ‘package:heyto/home/web/web_url_screen.dart’ (‘lib/home/web/web_url_screen.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘JavascriptMode’.
javascriptMode: JavascriptMode.unrestricted,
^^^^^^^^^^^^^^
lib/services/push_notification_service.dart:214:23: Error: The method ‘IOSInitializationSettings’ isn’t defined for the
class ‘PushNotificationService’.
– ‘PushNotificationService’ is from ‘package:heyto/services/push_notification_service.dart’
(‘lib/services/push_notification_service.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘IOSInitializationSettings’.
var iOSSettings = IOSInitializationSettings(
^^^^^^^^^^^^^^^^^^^^^^^^^
lib/services/push_notification_service.dart:230:80: Error: The getter ‘payload’ isn’t defined for the class
‘NotificationAppLaunchDetails’.
– ‘NotificationAppLaunchDetails’ is from ‘package:flutter_local_notifications_platform_interface/src/types.dart’
(‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications_platform_interface-6.0.0/lib/src/types.
dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘payload’.
print(“Push Notification LaunchApp: ${notificationAppLaunchDetails.payload}”);
^^^^^^^
lib/services/push_notification_service.dart:226:9: Error: No named parameter with the name ‘onSelectNotification’.
onSelectNotification: (message) async {
^^^^^^^^^^^^^^^^^^^^
lib/services/push_notification_service.dart:279:18: Error: The method ‘IOSNotificationDetails’ isn’t defined for the
class ‘PushNotificationService’.
– ‘PushNotificationService’ is from ‘package:heyto/services/push_notification_service.dart’
(‘lib/services/push_notification_service.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘IOSNotificationDetails’.
iOS: IOSNotificationDetails(
^^^^^^^^^^^^^^^^^^^^^^
lib/home/message/message_screen.dart:364:15: Error: The method ‘openAudioSession’ isn’t defined for the class
‘FlutterSoundPlayer’.
– ‘FlutterSoundPlayer’ is from ‘package:flutter_sound/public/flutter_sound_player.dart’
(‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/lib/public/flutter_sound_player.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘openAudioSession’.
_myPlayer.openAudioSession().then((value) {
^^^^^^^^^^^^^^^^
lib/home/message/message_screen.dart:371:19: Error: The method ‘openAudioSession’ isn’t defined for the class
‘FlutterSoundRecorder’.
– ‘FlutterSoundRecorder’ is from ‘package:flutter_sound/public/flutter_sound_recorder.dart’
(‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/lib/public/flutter_sound_recorder.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘openAudioSession’.
_myRecorder.openAudioSession().then((value) {
^^^^^^^^^^^^^^^^
lib/home/message/message_screen.dart:392:17: Error: The method ‘closeAudioSession’ isn’t defined for the class
‘FlutterSoundRecorder’.
– ‘FlutterSoundRecorder’ is from ‘package:flutter_sound/public/flutter_sound_recorder.dart’
(‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/lib/public/flutter_sound_recorder.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘closeAudioSession’.
_myRecorder.closeAudioSession();
^^^^^^^^^^^^^^^^^
lib/home/message/message_screen.dart:393:15: Error: The method ‘closeAudioSession’ isn’t defined for the class
‘FlutterSoundPlayer’.
– ‘FlutterSoundPlayer’ is from ‘package:flutter_sound/public/flutter_sound_player.dart’
(‘/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/lib/public/flutter_sound_player.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘closeAudioSession’.
_myPlayer.closeAudioSession();
^^^^^^^^^^^^^^^^^
lib/home/calls/voice_call_screen.dart:50:3: Error: ‘RtcEngine’ isn’t a type.
RtcEngine? _engine;
^^^^^^^^^
lib/home/calls/voice_call_screen.dart:105:21: Error: The getter ‘RtcEngine’ isn’t defined for the class ‘_State’.
– ‘_State’ is from ‘package:heyto/home/calls/voice_call_screen.dart’ (‘lib/home/calls/voice_call_screen.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘RtcEngine’.
_engine = await RtcEngine.createWithContext(RtcEngineContext(Config.agoraAppId));
^^^^^^^^^
lib/home/calls/voice_call_screen.dart:105:49: Error: The method ‘RtcEngineContext’ isn’t defined for the class ‘_State’.
– ‘_State’ is from ‘package:heyto/home/calls/voice_call_screen.dart’ (‘lib/home/calls/voice_call_screen.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘RtcEngineContext’.
_engine = await RtcEngine.createWithContext(RtcEngineContext(Config.agoraAppId));
^^^^^^^^^^^^^^^^
lib/home/calls/voice_call_screen.dart:109:38: Error: The getter ‘ChannelProfile’ isn’t defined for the class ‘_State’.
– ‘_State’ is from ‘package:heyto/home/calls/voice_call_screen.dart’ (‘lib/home/calls/voice_call_screen.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘ChannelProfile’.
await _engine!.setChannelProfile(ChannelProfile.LiveBroadcasting);
^^^^^^^^^^^^^^
lib/home/calls/voice_call_screen.dart:110:34: Error: The getter ‘ClientRole’ isn’t defined for the class ‘_State’.
– ‘_State’ is from ‘package:heyto/home/calls/voice_call_screen.dart’ (‘lib/home/calls/voice_call_screen.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘ClientRole’.
await _engine!.setClientRole(ClientRole.Broadcaster);
^^^^^^^^^^
lib/home/calls/voice_call_screen.dart:119:9: Error: The method ‘RtcEngineEventHandler’ isn’t defined for the class
‘_State’.
– ‘_State’ is from ‘package:heyto/home/calls/voice_call_screen.dart’ (‘lib/home/calls/voice_call_screen.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘RtcEngineEventHandler’.
RtcEngineEventHandler(joinChannelSuccess: (channel, uid, elapsed) {
^^^^^^^^^^^^^^^^^^^^^
lib/home/calls/video_call_screen.dart:50:4: Error: ‘RtcEngine’ isn’t a type.
RtcEngine? _engine;
^^^^^^^^^
lib/home/calls/video_call_screen.dart:109:21: Error: The getter ‘RtcEngine’ isn’t defined for the class ‘_State’.
– ‘_State’ is from ‘package:heyto/home/calls/video_call_screen.dart’ (‘lib/home/calls/video_call_screen.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘RtcEngine’.
_engine = await RtcEngine.createWithContext(RtcEngineContext(Config.agoraAppId));
^^^^^^^^^
lib/home/calls/video_call_screen.dart:109:49: Error: The method ‘RtcEngineContext’ isn’t defined for the class ‘_State’.
– ‘_State’ is from ‘package:heyto/home/calls/video_call_screen.dart’ (‘lib/home/calls/video_call_screen.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘RtcEngineContext’.
_engine = await RtcEngine.createWithContext(RtcEngineContext(Config.agoraAppId));
^^^^^^^^^^^^^^^^
lib/home/calls/video_call_screen.dart:114:38: Error: The getter ‘ChannelProfile’ isn’t defined for the class ‘_State’.
– ‘_State’ is from ‘package:heyto/home/calls/video_call_screen.dart’ (‘lib/home/calls/video_call_screen.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘ChannelProfile’.
await _engine!.setChannelProfile(ChannelProfile.LiveBroadcasting);
^^^^^^^^^^^^^^
lib/home/calls/video_call_screen.dart:115:34: Error: The getter ‘ClientRole’ isn’t defined for the class ‘_State’.
– ‘_State’ is from ‘package:heyto/home/calls/video_call_screen.dart’ (‘lib/home/calls/video_call_screen.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘ClientRole’.
await _engine!.setClientRole(ClientRole.Broadcaster);
^^^^^^^^^^
lib/home/calls/video_call_screen.dart:123:30: Error: The method ‘RtcEngineEventHandler’ isn’t defined for the class
‘_State’.
– ‘_State’ is from ‘package:heyto/home/calls/video_call_screen.dart’ (‘lib/home/calls/video_call_screen.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘RtcEngineEventHandler’.
_engine!.setEventHandler(RtcEngineEventHandler(
^^^^^^^^^^^^^^^^^^^^^
lib/home/calls/video_call_screen.dart:515:36: Error: Method not found: ‘SurfaceView’.
child: RtcRemoteView.SurfaceView(
^^^^^^^^^^^
lib/home/calls/video_call_screen.dart:737:39: Error: Method not found: ‘SurfaceView’.
child: RtcRemoteView.SurfaceView(
^^^^^^^^^^^
lib/home/calls/video_call_screen.dart:745:36: Error: Method not found: ‘SurfaceView’.
child: RtcLocalView.SurfaceView(),
^^^^^^^^^^^
lib/home/live/live_streaming_screen.dart:61:8: Error: ‘RtcEngine’ isn’t a type.
late RtcEngine _engine;
^^^^^^^^^
lib/home/live/live_streaming_screen.dart:251:15: Error: ‘ErrorCode’ isn’t a type.
error: (ErrorCode errorCode) {
^^^^^^^^^
lib/home/live/live_streaming_screen.dart:217:29: Error: The method ‘RtcEngineEventHandler’ isn’t defined for the class
‘_LiveStreamingScreenState’.
– ‘_LiveStreamingScreenState’ is from ‘package:heyto/home/live/live_streaming_screen.dart’
(‘lib/home/live/live_streaming_screen.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘RtcEngineEventHandler’.
_engine.setEventHandler(RtcEngineEventHandler(
^^^^^^^^^^^^^^^^^^^^^
lib/home/live/live_streaming_screen.dart:255:26: Error: The getter ‘ErrorCode’ isn’t defined for the class
‘_LiveStreamingScreenState’.
– ‘_LiveStreamingScreenState’ is from ‘package:heyto/home/live/live_streaming_screen.dart’
(‘lib/home/live/live_streaming_screen.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘ErrorCode’.
if (errorCode == ErrorCode.JoinChannelRejected) {
^^^^^^^^^
lib/home/live/live_streaming_screen.dart:305:5: Error: ‘RtcEngineContext’ isn’t a type.
RtcEngineContext context = RtcEngineContext(Config.agoraAppId);
^^^^^^^^^^^^^^^^
lib/home/live/live_streaming_screen.dart:305:32: Error: The method ‘RtcEngineContext’ isn’t defined for the class
‘_LiveStreamingScreenState’.
– ‘_LiveStreamingScreenState’ is from ‘package:heyto/home/live/live_streaming_screen.dart’
(‘lib/home/live/live_streaming_screen.dart’).
Try correcting the name to the name of an existing method, or defining a method named ‘RtcEngineContext’.
RtcEngineContext context = RtcEngineContext(Config.agoraAppId);
^^^^^^^^^^^^^^^^
lib/home/live/live_streaming_screen.dart:306:21: Error: The getter ‘RtcEngine’ isn’t defined for the class
‘_LiveStreamingScreenState’.
– ‘_LiveStreamingScreenState’ is from ‘package:heyto/home/live/live_streaming_screen.dart’
(‘lib/home/live/live_streaming_screen.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘RtcEngine’.
_engine = await RtcEngine.createWithContext(context);
^^^^^^^^^
lib/home/live/live_streaming_screen.dart:312:31: Error: The getter ‘ChannelProfile’ isn’t defined for the class
‘_LiveStreamingScreenState’.
– ‘_LiveStreamingScreenState’ is from ‘package:heyto/home/live/live_streaming_screen.dart’
(‘lib/home/live/live_streaming_screen.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘ChannelProfile’.
_engine.setChannelProfile(ChannelProfile.LiveBroadcasting);
^^^^^^^^^^^^^^
lib/home/live/live_streaming_screen.dart:314:29: Error: The getter ‘ClientRole’ isn’t defined for the class
‘_LiveStreamingScreenState’.
– ‘_LiveStreamingScreenState’ is from ‘package:heyto/home/live/live_streaming_screen.dart’
(‘lib/home/live/live_streaming_screen.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘ClientRole’.
_engine.setClientRole(ClientRole.Broadcaster);
^^^^^^^^^^
lib/home/live/live_streaming_screen.dart:316:29: Error: The getter ‘ClientRole’ isn’t defined for the class
‘_LiveStreamingScreenState’.
– ‘_LiveStreamingScreenState’ is from ‘package:heyto/home/live/live_streaming_screen.dart’
(‘lib/home/live/live_streaming_screen.dart’).
Try correcting the name to the name of an existing getter, or defining a getter or field named ‘ClientRole’.
_engine.setClientRole(ClientRole.Audience);
^^^^^^^^^^
lib/home/live/live_streaming_screen.dart:892:27: Error: Method not found: ‘SurfaceView’.
return RtcLocalView.SurfaceView();
^^^^^^^^^^^
lib/home/live/live_streaming_screen.dart:894:28: Error: Method not found: ‘SurfaceView’.
return RtcRemoteView.SurfaceView(
^^^^^^^^^^^
Waiting for connection from debug service on Edge… 368.1s
Failed to compile application.
|