本文介绍了错误:(1,0)插件:未找到"com.android.application"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在创建新项目时遇到此错误.我试图解决,但找不到任何解决方案.
I got this error when I was creating new project. I tried to resolve but I couldn't find any solution.
推荐答案首先: 将以下代码添加到build.gradle的顶部:
First: Add the following code to the top of your build.gradle:
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.1.2' } } allprojects { repositories { jcenter() } }第二:找到gradle-wrapper.properties. 将最后一句话改为:
Second: Find the gradle-wrapper.properties. Change the last sentence to this:
distributionUrl=http\://services.gradle/distributions/gradle-2.2.1-all.zip希望这对您有用.
更多推荐
错误:(1,0)插件:未找到"com.android.application"
发布评论