Android gradle plugin和 Gradle版本关系\Gradle version 1.10 is required. Current version is 2.0
2017-12-26 00:00
447 查看
转载请标明出处:http://blog.csdn.net/xx326664162/article/details/51087827 文章出自:薛瑄的博客
你也可以查看我的其他同类文章,也会让你有一定的收货!
Android gradle plugin和 Gradle版本关系需要正确匹配,如果不正确,可能出现下面这个错误。
Android gradle plugin和 Gradle版本关系如下(持续更新):
Android Studio and the Android Gradle Plugin
Studio 1.* or 2.* works with Gradle Plugin 1., and 2.
Newer versions of the Gradle plugin may require newer versions of Studio to enable the new features in the IDE, but the project should open in older versions of Studio, and build from there (since Gradle does the build). We will be very careful about this.
We will determine later our compatibility story between Studio 2.x and Gradle Plugin 1.x and between Studio 1.x and Gradle Plugin 2.x
We will make every effort to keep compatibility where possible, and to provide good Quick Assist to help with migration where applicable.
Android gradle plugin的版本在这个路径中修改:app\build.gradle
Gradle的版本在这个路径中修改 :app\gradle\wrapper\gradle-wrapper.properties
参考:
http://ask.android-studio.org/?/question/311
https://developer.android.com/studio/releases/gradle-plugin.html#updating-gradle
http://tools.android.com/tech-docs/new-build-system/version-compatibility
你也可以查看我的其他同类文章,也会让你有一定的收货!
Android gradle plugin和 Gradle版本关系需要正确匹配,如果不正确,可能出现下面这个错误。
Android gradle plugin和 Gradle版本关系如下(持续更新):
Android Gradle Plugin | Requires Gradle |
---|---|
1.0.0 - 1.1.3 | 2.2.1 - 2.3 |
1.2.0 - 1.3.1 | 2.2.1 - 2.9 |
1.5.0 | 2.2.1+ |
2.0.0-2.1.2 | 2.10 - 2.13 |
2.1.3+ | 2.14.1+ |
2.3.0+ | 3.3+ |
问题:
Gradle version 1.10 is required. Current version is 2.0解决:
Android gradle plugin的版本需要和 Gradle的版本相匹配,具体对应版本查看:Android Studio and the Android Gradle Plugin
Studio 1.* or 2.* works with Gradle Plugin 1., and 2.
Newer versions of the Gradle plugin may require newer versions of Studio to enable the new features in the IDE, but the project should open in older versions of Studio, and build from there (since Gradle does the build). We will be very careful about this.
We will determine later our compatibility story between Studio 2.x and Gradle Plugin 1.x and between Studio 1.x and Gradle Plugin 2.x
We will make every effort to keep compatibility where possible, and to provide good Quick Assist to help with migration where applicable.
Android gradle plugin的版本在这个路径中修改:app\build.gradle
Gradle的版本在这个路径中修改 :app\gradle\wrapper\gradle-wrapper.properties
参考:
http://ask.android-studio.org/?/question/311
https://developer.android.com/studio/releases/gradle-plugin.html#updating-gradle
http://tools.android.com/tech-docs/new-build-system/version-compatibility
相关文章推荐
- Android gradle plugin和 Gradle版本关系\Gradle version 1.10 is required. Current version is 2.0
- Gradle version 1.10 is required. Current version is 2.0
- Gradle version 1.10 is required. Current version is 2.2.1. in android
- Android Gradle插件(plugin)版本(version)与Gradle、SDK Build Tools版本关系
- Android Gradle插件(plugin)版本(version)与Gradle、SDK Build Tools版本关系
- Android Gradle插件(plugin)版本(version)与Gradle、SDK Build Tools版本关系
- Android Gradle插件(plugin)版本(version)与Gradle、SDK Build Tools版本关系
- Android Gradle插件(plugin)版本(version)与Gradle、SDK Build Tools版本关系
- Android Gradle插件(plugin)版本(version)与Gradle、SDK Build Tools版本关系
- Android错误之--Warning:Gradle version 2.10 is required. Current version is 2.8.
- Android Error:(1, 0) Gradle version 2.2 is required. Current version is 3.4.1.
- Android Studio(版本2.4)报错:the android gradle plugin version 2.4.0-alpha4 is too old, please update to
- Android开发出现Warning:Gradle version 2.10 is required. Current version is 2.8
- Gradle version 1.10 is required. Current version is 2.X的解决办法
- Android开发出现Warning:Gradle version 2.10 is required. Current version is 2.8. If u
- Error:(1, 0) Gradle version 2.2 is required. Current version is 3.4.1.
- This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling Instant R
- Android Gradle Plugin与Gradle 版本对应关系
- Warning:Gradle version 2.10 is required. Current version is 2.8. If using the gradle wrapper, try ed
- Error running demo: This version of Android Studio is incompatible with the Gradle Plugin used.