今天在运行android studio 时出现的。
解决方法:
// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.3.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { jcenter() } } //添加如下 dependencies { apply plugin: 'application' compile 'com.google.android.gms:play-services:8.3.+' }