连接服务器报错

lyx 2022-7-13 501

java.lang.UnsatisfiedLinkError: No implementation found for void com.tencent.mars.proto.ProtoLogic.setBackupAddressStrategy(int) (tried Java_com_tencent_mars_proto_ProtoLogic_setBackupAddressStrategy and Java_com_tencent_mars_proto_ProtoLogic_setBackupAddressStrategy__I) at com.tencent.mars.proto.ProtoLogic.setBackupAddressStrategy(Native Method) at cn.wildfirechat.client.ClientService$ClientServiceStub.setBackupAddressStrategy(ClientService.java:342) at cn.wildfirechat.client.IRemoteClient$Stub.onTransact(IRemoteClient.java:766) at android.os.Binder.execTransactInternal(Binder.java:1021) at android.os.Binder.execTransact(Binder.java:994)

最新回复 (7)
  • x86 2022-7-13
    引用 2
    是不是只因为更新了 client,但没有更新 mars-core-release.aar ?

    另外
    1. 你们有主动调用过 setBackupAddressStrategy 吗?
    2. 使用 demo 测试的,还是你们自己的项目?
  • lyx 2022-7-13
    引用 3
    我使用的是最新的client 和 mars-core-release.aar ,我是在现有的app中只集成了client和mars-core-release.aar,没有主动调用setBackupAddressStrategy
  • lyx 2022-7-13
    引用 4
    为什么我集成了mars-core-release.aar,但是在连接im服务器的时候会Mars service not start yet!
  • x86 2022-7-13
    引用 5
    lyx 我使用的是最新的client 和 mars-core-release.aar ,我是在现有的app中只集成了client和mars-core-release.aar,没有主动调用setBackupAd ...
    只在特定手机上出现 java.lang.UnsatisfiedLinkError: No implementation found for void com.tencent.mars.proto.ProtoLogic.setBackupAddressStrategy(int) 吗?
  • x86 2022-7-13
    引用 6
    lyx 为什么我集成了mars-core-release.aar,但是在连接im服务器的时候会Mars service not start yet!
    是不是就是问题里面的那个错误导致的?

    出问题的手机是什么版本?
    可以先换个手机试下。
  • lyx 2022-7-13
    引用 7
    我现有的一个荣耀一个oppo都会有这个错误,
  • x86 2022-7-13
    引用 8
    lyx 我现有的一个荣耀一个oppo都会有这个错误,
    你好,请微信添加 wfchat 吧
返回