您的位置:首页 > 移动开发

Android Studio 解决 com.android.application 找不到

2016-08-27 15:13 281 查看
* What went wrong:          
A problem occurred evaluating root project 'weekend'.
> Failed to apply plugin [id 'com.android.application']
   > Plugin with id 'com.android.application' not found.
                            
* Try:                      
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
解决办法: 头部添加如下代码
buildscript {repositories {jcenter()}dependencies {classpath 'com.android.tools.build:gradle:0.14.0'}}allprojects {repositories {jcenter()}}
/**
**
/
apply plugin: 'com.android.application'import groovy.json.JsonSlurper

                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  gradle