0

我正在尝试使用 Sinch 向我的 Android 应用程序添加消息传递功能,但是当我发送消息时,没有MessageClientListener调用任何函数(我通过简单登录侦听器的每个函数来检查这一点)。如果我运行sinch-rtc-sample-messaging包含在 Sinch 的 android sdk(在此处下载)中的应用程序,结果是相同的。

我将示例应用程序导入 Android Studio,我唯一更改的是APP-KEYand APP-SECRET。我想知道这个问题是否与 Sinch 的 jni 库和 ART 运行时有关?还是与 Android Lollipop 有关?

我整天搜索类似的问题,没有有用的帮助,logcat提供的消息如下:

04-12 18:44:51.695  11971-11971/com.sinch.android.rtc.sample.messaging W/art﹕ Attempt to remove local handle scope entry from IRT, ignoring
04-12 18:44:51.695  11971-11971/com.sinch.android.rtc.sample.messaging W/art﹕ Attempt to remove local handle scope entry from IRT, ignoring
04-12 18:44:51.695  11971-11971/com.sinch.android.rtc.sample.messaging W/art﹕ Attempt to remove local handle scope entry from IRT, ignoring
04-12 18:44:51.695  11971-11971/com.sinch.android.rtc.sample.messaging I/InputMethodManager﹕ [startInputInner] EditorInfo { packageName=com.sinch.android.rtc.sample.messaging, inputType=0x20001, imeOptions=0x44000006, privateImeOptions=null }, windowGainingFocus=null, mServedView=android.widget.EditText{3430a3c5 VFED..CL .F...... 30,12-810,143 #7f07000a app:id/txtTextBody}, mServedInputConnectionWrapper=android.view.inputmethod.InputMethodManager$ControlledInputConnectionWrapper@12b30220

每当我单击send示例应用程序中的按钮时,都会发生这种情况。

环境:

  • 安卓工作室 1.1.0
  • HTC新机(m7),安卓5.0.2版

我是在 StackOverflow 上发布问题的新手,如果我应该提供任何其他信息来解决问题,请告诉我,在此先感谢。

4

0 回答 0