gpt4 book ai didi

android - 错误 :(126, 13) 无法解析 : com. opentok.android :opentok-android-sdk:2. 9.+

转载 作者:行者123 更新时间:2023-11-29 14:13:09 26 4
gpt4 key购买 nike

我正在使用 opentok 库

    compile 'com.opentok.android:opentok-android-sdk:2.9.+'

并在我的 build.gradle 文件中添加了

     maven {
url "http://tokbox.bintray.com/maven"
}

但无法解决这个错误

    Error:(126, 13) Failed to resolve: com.opentok.android:opentok-android-sdk:2.9.+
Show in File
Show in Project Structure dialog

当我尝试清理项目时,我得到了这个

    Error:A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
> Could not resolve com.opentok.android:opentok-android-sdk:2.9.+.
Required by:
project :app
> Could not resolve com.opentok.android:opentok-android-sdk:2.9.+.
> Failed to list versions for com.opentok.android:opentok-android-sdk.
> Unable to load Maven meta-data from http://dl.bintray.com/populov/maven/com/opentok/android/opentok-android-sdk/maven-metadata.xml.
> Could not GET 'http://dl.bintray.com/populov/maven/com/opentok/android/opentok-android-sdk/maven-metadata.xml'.
> Address family not supported by protocol family: connect
> Could not resolve com.opentok.android:opentok-android-sdk:2.9.+.
> Failed to list versions for com.opentok.android:opentok-android-sdk.
> Unable to load Maven meta-data from http://dl.bintray.com/lukaville/maven/com/opentok/android/opentok-android-sdk/maven-metadata.xml.
> Could not GET 'http://dl.bintray.com/lukaville/maven/com/opentok/android/opentok-android-sdk/maven-metadata.xml'.
> Address family not supported by protocol family: connect
> Could not resolve com.opentok.android:opentok-android-sdk:2.9.+.
> Failed to list versions for com.opentok.android:opentok-android-sdk.
> Unable to load Maven meta-data from http://tokbox.bintray.com/maven/com/opentok/android/opentok-android-sdk/maven-metadata.xml.
> Could not GET 'http://tokbox.bintray.com/maven/com/opentok/android/opentok-android-sdk/maven-metadata.xml'.
> Address family not supported by protocol family: connect

请帮我解决这个问题,谢谢。

最佳答案

使用 mavenCentral() 而不是 maven { url "http://tokbox.bintray.com/maven"}

关于android - 错误 :(126, 13) 无法解析 : com. opentok.android :opentok-android-sdk:2. 9.+,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42883155/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com