Android studio Could not download xxx.jar
https://blog.csdn.net/qq_16374771/article/details/107416883
Could not resolve all files for configuration ':app:apt'
https://blog.csdn.net/gengbaolong/article/details/104718680
Compose 与 Kotlin 的兼容性对应关系
https://developer.android.google.cn/jetpack/androidx/releases/compose-kotlin
jcenter()不能下载就用他的映射 由于 JCenter 服务将于 2022 年 2 月 1 日下线
提示需要用新的studio打开项目如何解决? 配置gradle 然后用最新的开发studio 用java11
kotlin版本怎么选?
const val kotlin = "1.5.31"---用这个版本
const val kotlin = "1.7.20"
const val kotlin = "1.6.10"
pluginManagement {
repositories {
gradlePluginPortal()
//阿里云jcenter仓库
maven { url "https://maven.aliyun.com/repository/public" }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
google()
jcenter()
// mavenCentral()
maven { url 'https://jitpack.io' }
maven {
url "https://mvn.mob.com/android"
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
//阿里云jcenter仓库
maven { url "https://maven.aliyun.com/repository/public" }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
google()
jcenter()
// mavenCentral()
maven { url 'https://jitpack.io' }
//融云 maven 仓库地址
maven { url "https://maven.rongcloud.cn/repository/maven-releases/" }
maven {
url "https://mvn.mob.com/android"
}
}
}
完美解决 AndroidStudio Gradle 下载jar包慢Android Studio : Read timed out和connect timed out的解决方法
https://blog.csdn.net/laterstage/article/details/133914261
安卓疑难杂症】:安卓安装、gradle下载、AndroidStudio报错:Connection timed out: connect If you are behind an HTTP proxy----目前用的这个解决方案 电鳗
https://blog.csdn.net/oxygen23333/article/details/129345204
Android Studio Electric Eel | 2022.1.1 版本 电鳗
https://cloud.tencent.com/developer/article/2226730
debug 一会就断了 Android studio
https://blog.51cto.com/u_16175476/9673711