工作室的Android版本摇篮 - 摇篮版本2.8是必需的 [英] Android Studio Gradle version - Gradle version 2.8 is required
本文介绍了工作室的Android版本摇篮 - 摇篮版本2.8是必需的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图建立一个Android项目,但出现以下错误
I'm trying to build an Android project but the following error occurred
Error:(10, 1) A problem occurred evaluating project ':app'.
> Failed to apply plugin [id 'com.android.application']
> Gradle version 2.8 is required. Current version is 2.4. If using the gradle wrapper, try editing the distributionUrl in C:\Users\...\gradle\wrapper\gradle-wrapper.properties to gradle-2.8-all.zip
这似乎什么是错的摇篮
版本,但是我查了 gradle这个-包装属性
键,它已经2.10。
It seem something's wrong with the Gradle
version, however I checked the gradle-wrapper-property
and it's already 2.10.
在文件的项目结构,项目还, gradle这个版本
也是2.10
Also in File-Project Structure-Project, gradle-version
is also 2.10
不知道这是怎么发生的,我还重新启动Android的工作室很多次了。
No idea how this happened, I've also restarted android-studio many times.
推荐答案
更新Android Studio版本1.4至1.5.1修正了这个问题对我来说。
Updating the version of android studio from 1.4 to 1.5.1 fixed this problem for me.
这篇关于工作室的Android版本摇篮 - 摇篮版本2.8是必需的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文