AndroidDevTools - Android开发工具 Android SDK下载 Android Studio下载 Gradle下载 SDK Tools下载
android-studio-2022.1.1.21-windows最后一个可以选择java
Download Android Studio & App Tools - Android Developers
链接:百度网盘
jdk-11.0.17_windows-x64_bin.exe 一路下一步,路径为:C:\Program Files\Java\jdk-11.0.17
1.未修改时路径位置为:C:\Users\Administrator\.Gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
maven{url 'https://maven.aliyun.com/repository/google'}
maven{url 'https://maven.aliyun.com/repository/jcenter'}
maven{url 'https://maven.aliyun.com/nexus/content/groups/public'}
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.1"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
maven{url 'https://maven.aliyun.com/repository/google'}
maven{url 'https://maven.aliyun.com/repository/jcenter'}
maven{url 'https://maven.aliyun.com/nexus/content/groups/public'}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
8.调整软件显示Android SDK开发及打包,解决没有tasks任务栏
取消勾选 此复选框即可
9.设置代理 mirrors.neusoft.edu.cn:80
修改grdle国内下载镜像
https\://mirrors.cloud.tencent.com/gradle/gradle-8.0-bin.zip