RTM
RTM copied to clipboard
Android Sample project of RTM get error cannot resolve RtmFileMessage, RtmImageMessage and RtmMediaOperationProgress
I downloaded android sdk version 1.2.2 from https://docs.agora.io/en/Real-time-Messaging/downloads Sample android project at: https://github.com/AgoraIO/RTM When compile sample project and integrate with sdk, i got error cannot find symbol:
import io.agora.rtm.RtmFileMessage; import io.agora.rtm.RtmImageMessage; import io.agora.rtm.RtmMediaOperationProgress;
Many thanks!
Can you try the latest Android RTM SDK on https://download.agora.io/rtmsdk/release/Agora_RTM_SDK_for_Android_v1_4_0.zip
Hello here updated SDK of Agora.io
- just put your key and run Android RTM SDK on https://download.agora.io/rtmsdk/release/Agora_RTM_SDK_for_Android_v1_4_0.zip
I downloaded android sdk version 1.2.2 from https://docs.agora.io/en/Real-time-Messaging/downloads Sample android project at: https://github.com/AgoraIO/RTM When compile sample project and integrate with sdk, i got error cannot find symbol:
import io.agora.rtm.RtmFileMessage; import io.agora.rtm.RtmImageMessage; import io.agora.rtm.RtmMediaOperationProgress;
Many thanks!
Add this to your build.gradle
dependencies{
implementation fileTree(dir: 'libs', include: ['*.jar'])
}
then it will work perfectly fine 👍