Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Exception: MissingPluginException(No implementation found for method joinChannel on channel agora_rtc_engine) #253

Closed
ebrahimimasod opened this issue Feb 5, 2021 · 8 comments

Comments

@ebrahimimasod
Copy link

ebrahimimasod commented Feb 5, 2021

I use :
agora_rtc_engine: ^3.1.3

error :
E/flutter (16307): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: MissingPluginException(No implementation found for method joinChannel on channel agora_rtc_engine)
E/flutter (16307): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157:7)
E/flutter (16307):
E/flutter (16307): #1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:332:12)
E/flutter (16307): #2 RtcEngine._invokeMethod (package:agora_rtc_engine/src/rtc_engine.dart:35:27)
E/flutter (16307): #3 RtcEngine.joinChannel (package:agora_rtc_engine/src/rtc_engine.dart:126:12)
E/flutter (16307): #4 _VideoCallPageState.initialize (package:telegram/pages/VideoCallPage.dart:72:19)
E/flutter (16307):

@LichKing-2234
Copy link
Contributor

have you tried our example or quickstart?

@ebrahimimasod
Copy link
Author

Yes I use quickstart project in github

@LichKing-2234
Copy link
Contributor

maybe you open .xcodeproj, you should open .xcworkspace

@LichKing-2234
Copy link
Contributor

I will close this issue, you can reopen it if the issue still exists.

@alenpmla
Copy link

I am facing this issue on the latest agora SDK. I had tried all the solutions mentioned here.

V/FA ( 391): Inactivity, disconnecting from the service W/System.err( 391): java.lang.reflect.InvocationTargetException W/System.err( 391): at java.lang.reflect.Method.invoke(Native Method) W/System.err( 391): at io.agora.agora_rtc_engine.AgoraRtcEnginePlugin.onMethodCall(AgoraRtcEnginePlugin.kt:113) W/System.err( 391): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233) W/System.err( 391): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85) W/System.err( 391): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:818) W/System.err( 391): at android.os.MessageQueue.nativePollOnce(Native Method) W/System.err( 391): at android.os.MessageQueue.next(MessageQueue.java:335) W/System.err( 391): at android.os.Looper.loop(Looper.java:206) W/System.err( 391): at android.app.ActivityThread.main(ActivityThread.java:8506) W/System.err( 391): at java.lang.reflect.Method.invoke(Native Method) W/System.err( 391): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602) W/System.err( 391): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1139) W/System.err( 391): Caused by: kotlin.TypeCastException: null cannot be cast to non-null type kotlin.Number W/System.err( 391): at io.agora.rtc.base.RtcEngineManager.joinChannel(RtcEngine.kt:398) W/System.err( 391): ... 12 more E/flutter ( 391): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: MissingPluginException(No implementation found for method joinChannel on channel agora_rtc_engine) E/flutter ( 391): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:7)

@riskiadi
Copy link

still have an error
Error: MissingPluginException(No implementation found for method create on channel agora_rtc_engine) at Object.throw_ [as throw] (http://localhost:63464/dart_sdk.js:5061:11) at MethodChannel._invokeMethod (http://localhost:63464/packages/flutter/src/services/restoration.dart.lib.js:1526:21) at _invokeMethod.next (<anonymous>) at http://localhost:63464/dart_sdk.js:38640:33 at _RootZone.runUnary (http://localhost:63464/dart_sdk.js:38511:59) at _FutureListener.thenAwait.handleValue (http://localhost:63464/dart_sdk.js:33713:29) at handleValueCallback (http://localhost:63464/dart_sdk.js:34265:49) at Function._propagateToListeners (http://localhost:63464/dart_sdk.js:34303:17) at _Future.new.[_completeWithValue] (http://localhost:63464/dart_sdk.js:34151:23) at async._AsyncCallbackEntry.new.callback (http://localhost:63464/dart_sdk.js:34172:35) at Object._microtaskLoop (http://localhost:63464/dart_sdk.js:38778:13) at _startMicrotaskLoop (http://localhost:63464/dart_sdk.js:38784:13) at http://localhost:63464/dart_sdk.js:34519:9

@MasoomRaza752
Copy link

when i use agora 4.2.0 it did not allow my app to install and crash it by giving the error.'Flutter initialization failed' and i'm using the flutter 2.8.1

@github-actions
Copy link
Contributor

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 raise a new issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants