Android Studio 初始化build.gradle下载资源失败

论坛 期权论坛 脚本     
匿名技术用户   2020-12-27 16:49   26   0

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
repositories {
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0-beta03'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
google() }
}

以上是本人使用的build.gradle内容,测试使用正常。

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP