The project is using an unsupported version of the Android Gradle plug-in
来源:互联网 发布:大工软件学院 编辑:程序博客网 时间:2024/05/21 01:51
如何将Eclipse项目转化成Android Studio项目的方式我就不多说了,但这种转化方式不会百分百成功,多少都会遇到一些问题。
您是否也遇到如下问题呢?
报错
Error:The project is using an unsupported version of the Android Gradle plug-in (0.12.2). The recommended version is 1.5.0.<a href="fixGradleElements">Fix plugin version and sync project</a>如果遇到了请继续阅读。
原因
这时只需要修改两个位置,就可以让Android Studio正常。
出现这个问题的原因比较简单是Eclipse使用的版本和Android Studio使用的版本不同。
解决方式
位置一:
修改Project/build.gradle文件
根据上面的错误提示“The recommended version is 1.5.0.”需要将版本改成“1.5.+”。
位置二:
修改Project/gradle/wrapper/gradle-wrapper.properties中的“distributionUrl”字段。
但参数修改成多少呢?还需要看看你的Android Stuido使用的
修改结束,您试试吧。再将项目导入Android Studio。就不会包Gradle的版本错误了。
0 0
- The project is using an unsupported version of the Android Gradle plug-in
- Error:The project is using an unsupported version of the Android Gradle plug-in (0.8.3). The recomme
- android 导入gradle项目The project is using an unsupported version of Gradle.
- you are using an old unsupported version of gradle 1.9
- The project 'FeiYueXueTang_Android' may be using a version of Gradle that does not contain the metho
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please updat
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- CircleImageView自定义圆形控件的使
- C语言深度剖析-----最终的胜利
- C++11:利用模板简化重载右值引用参数的函数
- 捡了西瓜丢芝麻——注意编程细节
- JAVA的Date类与Calendar类(常用方法)
- The project is using an unsupported version of the Android Gradle plug-in
- PHP - GD库
- webgl开源三维引擎的选择
- 面试准备
- c++程序设计笔记(4)
- C#如何做到真正的四舍五入
- 设计模式之命令模式
- python程序中yield用法。
- 设置状态栏的颜色和隐藏