* 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