【问题标题】:Quickblox 2.6.1 webrtc: missing org.webrtc.videocapturerandroid$nativeobserverQuickblox 2.6.1 webrtc:缺少 org.webrtc.videocapturerandroid$nativeobserver
【发布时间】:2016-09-22 11:38:55
【问题描述】:

我在尝试加载 libjingle_peerconnection_so.so 时收到一个缺少类的错误。我正在使用 Quickblox 2.6.1 视频 webrtc。有人知道发生了什么吗?

##---------------Begin: Gson 的 proguard 配置 ---------- # Gson 在处理字段时使用存储在类文件中的泛型类型信息。保卫 # 默认移除此类信息,因此配置为保留所有这些信息。 -keepattributes 签名

# For using GSON @Expose annotation
-keepattributes *Annotation*

# Gson specific classes
-keep class sun.misc.Unsafe { *; }
#-keep class com.google.gson.stream.** { *; }

# Application classes that will be serialized/deserialized over Gson
-keep class com.quickblox.core.account.model.** { *; }

##---------------End: proguard configuration for Gson  ----------

##---------------Begin: proguard configuration for quickblox  ----------

#quickblox core module
-keep class com.quickblox.auth.parsers.** { *; }
-keep class com.quickblox.auth.model.** { *; }
-keep class com.quickblox.core.parser.** { *; }
-keep class com.quickblox.core.model.** { *; }
-keep class com.quickblox.core.server.** { *; }
-keep class com.quickblox.core.rest.** { *; }
-keep class com.quickblox.core.error.** { *; }
-keep class com.quickblox.core.Query { *; }

#quickblox users module
-keep class com.quickblox.users.parsers.** { *; }
-keep class com.quickblox.users.model.** { *; }

#quickblox messages module
-keep class com.quickblox.messages.parsers.** { *; }
-keep class com.quickblox.messages.model.** { *; }

#quickblox content module
-keep class com.quickblox.content.parsers.** { *; }
-keep class com.quickblox.content.model.** { *; }

#quickblox chat module
-keep class com.quickblox.chat.parser.** { *; }
-keep class com.quickblox.chat.model.** { *; }
-keep class org.jivesoftware.** { *; }
-dontwarn org.jivesoftware.smackx.**

#quickblox videochat-webrtc module
-keep class org.webrtc.** { *; }

##---------------End: proguard configuration for quickblox  ----------

##---------------End: proguard configuration --------------

Missing class error

【问题讨论】:

    标签: android webrtc videochat libjingle quickblox-android


    【解决方案1】:

    您是否为所有 Jni 文件夹添加了 libjingle_peerconnection_so.so??

    喜欢x86,armeabi等

    【讨论】:

    • 是的,我当然做到了,这就是为什么这个问题让我头疼...可能是 libjingle 版本,如果是,我会在哪个站点获得最新版本?我使用的是 Quickblox webrtc 2.6.1 附带的版本
    • @Edison 你有解决方案吗?
    【解决方案2】:

    我修正了错误。我在正确的路径中更新了正确版本的 libjingle。感谢您的帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-06-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多