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

Issue with Agora ScreenSharing Android #357

Open
softsan opened this issue Sep 19, 2023 · 1 comment
Open

Issue with Agora ScreenSharing Android #357

softsan opened this issue Sep 19, 2023 · 1 comment

Comments

@softsan
Copy link

softsan commented Sep 19, 2023

I am following this guidelines to use Screen sharing with my android project. but I am getting this runtime error while starting a screen sharing:

W/System.err: java.lang.NoSuchMethodError: no non-static method "Lio/agora/rtc2/extensions/MediaProjectionSource$ScreenCaptureParameters;.<init>(IIIZ)V"
E/rtc: #
    # Fatal error in: ../../../../../media_sdk_script/media_engine2/webrtc/sdk/android/src/jni/jni_generator_helper.cc, line 59
    # last system error: 2
    # Check failed: !env->ExceptionCheck()
    # error during GetMethodID: <init>, (IIIZ)V
@softsan softsan changed the title Issue with ScreenSharing Android Issue with Agora ScreenSharing Android Sep 19, 2023
@CookieCzy
Copy link

It is possible that the screen share library is not loaded, please refer to the following link (https://docs.agora.io/en/video-calling/core-functionality/screen-sharing?platform=android#manual-integration) Integrate screen share library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants