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

来源:互联网 发布:淘宝售前客服怎么做 编辑:程序博客网 时间:2024/06/08 18:25
* 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
                                             
0 0