我无法同步gradle,它在第7行显示错误

时间:2017-03-23 17:22:11

标签: android android-gradle

// 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.2.3' 
     //error here 
     // NOTE: Do not place your application dependencies here; they belong 
     // in the individual module build.gradle files 
   } 
} 

allprojects { repositories { jcenter() } } 

task clean(type: Delete) { delete rootProject.buildDir } 
apply plugin: 'com.googl

1 个答案:

答案 0 :(得分:0)

错误在于:

buildscript { repositories { jcenter() }+

删除字符+