getting an issue while archiving opentok audio/video chat

僤鯓⒐⒋嵵緔 提交于 2019-12-02 04:32:29

Replace:

compile 'com.tokbox:opentok-server-sdk:2.3.2'

With:

compile group: 'com.tokbox', name: 'opentok-server-sdk', version: '2.2.0'

and Rebuild. This Should Solve your problem.

Also, add this in your build.gradle file, if you have not already added them.

packagingOptions {
        exclude 'META-INF/DEPENDENCIES'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/license.txt'
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/NOTICE.txt'
        exclude 'META-INF/notice.txt'        
        exclude 'META-INF/ASL2.0'
    }

I hope you have this already in your build.gradle, if not than include it too

        **multiDexEnabled true**

And compile 'com.android.support:multidex:1.0.0' in Dependencies.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!