无法找到用于特定/最新AndroidStudio版本的gradle、gradleplugin版本的确切资源。
更新:最佳官方资源回答问题:http://tools.android.com/tech-docs/new-build-system/version-compatibility
发布于 2015-09-20 14:02:39
正式文档是您所需要的:https://developer.android.com/tools/revisions/gradle-plugin.html
更新2017年1月
Android Studio 2.2.3
Gradle 2.2.3 or higher.
Build Tools 25.0.2 or higher.在此依赖项中使用AndroidStudio1.3:
Gradle 2.2.1 or higher.
Build Tools 21.1.1 or higher.此外,Gradle 2.7于2015年9月14日发布:http://gradle.org/
发布于 2015-09-17 13:28:50
这将是一个更多的评论,但我还没有积累足够的分数到目前为止。如果您已经将Android更新为1.3.2版本,那么我建议使用构建工具23.0.0和编译API23Android6.0。
在你的顶级级文件中;
android {
compileSdkVersion 23
buildToolsVersion "23.0.0"
defaultConfig {
applicationId "your.package.name"
minSdkVersion 15 // min sdk can be any sdk you want to target
targetSdkVersion 23 // target compiled version
}
}至于Gradle版本- 2.4或更高,直到最新2.7。

在你的文件中;
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}https://stackoverflow.com/questions/32631249
复制相似问题