android studio 使用过程记录

来源:互联网 发布:大学宿舍淘宝店 编辑:程序博客网 时间:2024/04/29 05:52

错误:

  1. Error:(47, 0) Gradle DSL method not found: ‘compile()’
    Possible causes:
    • The project ‘ShareApplicationSetting’ may be using a version of Gradle that does not contain the method.
      Open Gradle wrapper file
    • The build file may be missing a Gradle plugin.
      Apply Gradle plugin

    我的Android studio是1.3.2版本,网上找了很久的问题,没找到合适答案,如build-gradle的版本修改之类的。其实最后我发现,在build.gradle文件中的依赖dependencies中compile没有换行导致的。
    compile 换行问题
0 0