Gradle sync failed: Gradle DSL method not found: 'compile()'
2015-12-14 16:52
357 查看
今天在运行android studio 时出现的。
4000
解决方法:
4000
解决方法:
// 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.+' }
相关文章推荐
- 修复 Visual Studio Error “No exports were found that match the constraint”
- FAILED BINDER TRANSACTION
- main函数的简介
- Bonfire: DNA Pairing
- tools:context=".MainActivity的作用
- Spark 连接 hdfs时:Call From to master:8020 failed on connection exception:
- VVDI Benz VVDI MB TOOL key programmer Latest Technical details
- Scala:trait
- Dell idrac8 设置Email 邮件报警
- 使用Genymotion调试时报错Installation error: INSTALL_FAILED_CPU_ABI_INCOMPATIBLE
- svn cleanup failed问题解决
- LeetCode 70:Climbing Stairs
- ARM basic training
- windows安装rails4.2
- Sporadic IOException: Failed to persist config
- Sporadic IOException: Failed to persist config
- VC6.0 error LNK2001: unresolved external symbol _main解决办法
- 带参数的函数main()
- http://www.microsoft.com/en-pk/download/details.aspx?id=40762
- 'Basic' attribute type should not be a persistence entity/a container