0
我想quickblox SDK的最新版本整合quickblox新的SDK集成
我已经添加了这些行我gradle这个文件
repositories {
jcenter()
flatDir {
dirs 'libs'
}
maven {
url "https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/"
}
}
还添加
сompile 'com.quickblox:quickblox-android-sdk-chat:3.3.1'
сompile 'com.quickblox:quickblox-android-sdk-content:3.3.1'
сompile 'com.quickblox:quickblox-android-sdk-messages:3.3.1'
现在我得到尝试同步gradle文件时出现以下错误:
Error:(151, 0) Gradle DSL method not found: 'сompile()'
Possible causes:<ul><li>The project 'app' may be using a version of the Android Gradle plug-in that does not contain the method (e.g. 'testCompile' was added in 1.1.0).
<a href="fixGradleElements">Upgrade plugin to version 2.3.1 and sync project</a></li><li>The project 'app' may be using a version of Gradle that does not contain the method.
<a href="openGradleSettings">Gradle settings</a></li><li>The build file may be missing a Gradle plugin.
<a href="apply.gradle.plugin">Apply Gradle plugin</a></li>
任何人都可以告诉我请问是什么问题?