注册

android端发不出消息

android端在开发中先直接使用了demo中的界面,发消息时直接提示叹号,logo提示:
[2019/01/10 15:32:34:684]: log: level: 1, area: 1, SEND:
    { verison : MSYNC_V1, compress_algorimth : 0, command : SYNC, encrypt_type : [ 0 ], payload : { meta : { id : 15471055545920009, from : 13430808412/android_1cc155f7-c732-35af-86cb-d60451376b39, to : 15016149297, ns : CHAT, payload : { chattype : CHAT, from : 13430808412, to : 15016149297, contents : [ { contenttype : TEXT, text : [:'(][:'(] } ] } } } }
D/ONE SDK: [2019/01/10 15:32:34:740]: log: level: 1, area: 1, RECV:
    { verison : MSYNC_V1, command : SYNC, payload : { status : { error_code : 1, reason : blocked }, meta_id : 15471055545920009, server_id : 556373300477954052, timestamp : 1547105553680 } }
D/ONE SDK: [2019/01/10 15:32:34:740]: log: level: 1, area: 1, ChatClient::handleSync begin
    [2019/01/10 15:32:34:741]: log: level: 1, area: 1, ChatClient::handleSync complete: response
I/EaseChatRowPresenter: onError: 210, error: User has no permission for this operation
D/ONE SDK: [2019/01/10 15:32:34:741]: asyncSendMessage failed, error: 210
    [2019/01/10 15:32:34:741]: callback onError
已邀请:
210是没权限 这个错误code可以从环信官网 查看错误码说明 这个应该是被拉黑导致的
http://docs-im.easemob.com/im/other/errorcode/android

要回复问题请先登录注册