【问题标题】:Why does the build.gradle file appear in Android studio like this ...?为什么build.gradle文件会这样出现在Android studio中……?
【发布时间】:2022-02-02 13:08:07
【问题描述】:

为什么build.gradle文件会这样出现在Android studio中...?连接 Firebase 时无法同步 SDK 依赖同步(在使用 Java 构建的应用程序中)

// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
    id 'com.android.application' version '7.1.0' apply false
    id 'com.android.library' version '7.1.0' apply false
}



task clean(type: Delete) {
    delete rootProject.buildDir
}

【问题讨论】:

    标签: java android xml gradle


    【解决方案1】:

    在新的 Android Studio 中,gradle 结构已更改,使用 settings.gradle 访问存储库和依赖项

    【讨论】:

    • 是的..感谢您的帮助
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-10-09
    • 1970-01-01
    • 2020-09-12
    • 2014-06-08
    • 1970-01-01
    • 2014-12-15
    • 1970-01-01
    相关资源
    最近更新 更多