Skip to content

Instantly share code, notes, and snippets.

@zhangguanzhang
Last active April 27, 2025 08:25
Show Gist options
  • Save zhangguanzhang/cd2f3eb20de5a1314e5d3802401aa192 to your computer and use it in GitHub Desktop.
Save zhangguanzhang/cd2f3eb20de5a1314e5d3802401aa192 to your computer and use it in GitHub Desktop.

项目设置,切换成project 文件视图 gradle/wrapper/gradle-wrapper.propertieshttps\://services.gradle.org/distributions/ 换成下面 https\://mirrors.cloud.tencent.com/gradle/ 并把 url 结尾文件名里的 bin 改成 all

settings.gradle(.kts)里 google {...} 换成 google() ,然后俩 repositories 内都添加

    maven { setUrl("https://maven.aliyun.com/repository/public/") }
    maven { setUrl("https://maven.aliyun.com/repository/google/") }
    maven { setUrl("https://maven.aliyun.com/repository/jcenter/") }
    maven { setUrl("https://maven.aliyun.com/repository/gradle-plugin/") }
    // 华为云镜像
    maven { setUrl("https://repo.huaweicloud.com/repository/maven/") }
    // 腾讯云镜像
    maven { setUrl("https://mirrors.cloud.tencent.com/nexus/repository/maven-public/") }
    // 网易镜像
    maven { setUrl("https://mirrors.163.com/maven/repository/maven-public/") }
@zhangguanzhang
Copy link
Author

zhangguanzhang commented Apr 4, 2025

https://www.bilibili.com/video/BV1P94y1c7tV kotlin视频教程,非常推荐
https://www.bilibili.com/video/BV1gL9dYUE78/ android studio 相关使用
https://www.bilibili.com/video/BV1x4411o7Wy 扔物线的一些基础和冷门科普
https://developer.android.com/courses?hl=zh-cn 安卓开发文档
https://www.bilibili.com/video/BV16a41157W4/ 该视频教程对于官方的一些案例编写和解释说明

@zhangguanzhang
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment