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

getting error while integrating voice call sdk in my project #138

Open
snehagpt923 opened this issue Mar 8, 2021 · 3 comments
Open

getting error while integrating voice call sdk in my project #138

snehagpt923 opened this issue Mar 8, 2021 · 3 comments

Comments

@snehagpt923
Copy link

iacs.conversations E/s.conversation: 9: android.net.wifi.WifiManager$WifiLock io.agora.rtc.internal.RtcEngineImpl.mWifiLock
2021-03-08 22:26:02.910 15056-15056/eu.siacs.conversations E/s.conversation: Failed to register native method io.agora.rtc.internal.RtcEngineImpl.nativeGetParameters(JLjava/lang/String;)Ljava/lang/String; in /data/app/eu.siacs.conversations-zzSdskk22Pz9iHfE8O23AQ==/base.apk
2021-03-08 22:26:02.910 15056-15056/eu.siacs.conversations A/s.conversation: java_vm_ext.cc:570] JNI DETECTED ERROR IN APPLICATION: JNI NewGlobalRef called with pending exception java.lang.NoSuchMethodError: no static or non-static method "Lio/agora/rtc/internal/RtcEngineImpl;.nativeGetParameters(JLjava/lang/String;)Ljava/lang/String;"
2021-03-08 22:26:02.910 15056-15056/eu.siacs.conversations A/s.conversation: java_vm_ext.cc:570] at java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader, java.lang.Class) (Runtime.java:-2)
2021-03-08 22:26:02.910 15056-15056/eu.siacs.conversations A/s.conversation: java_vm_ext.cc:570] at java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader) (Runtime.java:1115)
2021-03-08 22:26:02.910 15056-15056/eu.siacs.conversations A/s.conversation: java_vm_ext.cc:570] at void java.lang.Runtime.loadLibrary0(java.lang.ClassLoader, java.lang.Class, java.lang.String) (Runtime.java:1069)
2021-03-08 22:26:02.910 15056-15056/eu.siacs.conversations A/s.conversation: java_vm_ext.cc:570] at void java.lang.Runtime.loadLibrary0(java.lang.Class, java.lang.String) (Runtime.java:1007)
2021-03-08 22:26:02.910 15056-15056/eu.siacs.conversations A/s.conversation: java_vm_ext.cc:570] at void java.lang.System.loadLibrary(java.lang.String) (System.java:1667)
2021-03-08 22:26:02.910 15056-15056/eu.siacs.conversations A/s.conversation: java_vm_ext.cc:570] at void io.agora.rtc.internal.RtcEngineImpl.loadNativeLibrary() (RtcEngineImpl.java:146)
2021-03-08 22:26:02.910 15056-15056/eu.siacs.conversations A/s.conversation: java_vm_ext.cc:570] at boolean io.agora.rtc.internal.RtcEngineImpl.initializeNativeLibs() (RtcEngineImpl.java:152)
2021-03-08 22:26:02.910 15056-15056/eu.siacs.conversations A/s.conversation: java_vm_ext.cc:570] at io.agora.rtc.RtcEngine io.agora.rtc.RtcEngine.create(android.content.Context, java.lang.String, io.agora.rtc.IRtcEngineEventHandler) (RtcEngine.java:62)
2021-03-08 22:26:02.910 15056-15056/eu.siacs.conversations A/s.conversation: java_vm_ext.cc:570] at void eu.siacs.conversations.ui.VoiceChatViewActivity.initializeAgoraEngine() (VoiceChatViewActivity.java:169)
2021-03-08 22:26:02.910 15056-15056/eu.siacs.conversations A/s.conversation: java_vm_ext.cc:570] at void eu.siacs.conversations.ui.VoiceChatViewActivity.initAgoraEngineAndJoinChannel() (VoiceChatViewActivity.java:83)
2021-03-08 22:26:02.910 15056-15056/eu.siacs.conversations A/s.conversation: java_vm_ext.cc:570] at void eu.siacs.conversations.ui.VoiceChatViewActivity.onCreate(android.os.Bundle) (VoiceChatViewActivity.java:78)

@snehagpt923
Copy link
Author

Please help here.

@yoreland
Copy link
Contributor

Hi, from your error message, your are using Voice SDK embedded 1v1 demo, right?
did you update your appID in configuration?

@snehagpt923
Copy link
Author

Yes. I did. I created new project and generated new app id and temp token. Have added it in string file.

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