初始化仓库

This commit is contained in:
2025-12-19 23:45:38 +08:00
parent 05a96d8bfb
commit be688dd483
1073 changed files with 80517 additions and 0 deletions

47
解决编译难题 Normal file
View File

@@ -0,0 +1,47 @@
gradle下载 download maven-metadata.xml卡住问题
buildscript {
repositories {
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://maven.aliyun.com/repository/public' }//jcenter
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }//gradle-plugin
maven { url 'https://maven.aliyun.com/repository/central' }//central
maven { url 'https://maven.aliyun.com/repository/google' }//google
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.3'
classpath 'com.google.gms:google-services:4.3.4'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.3.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
//classpath 'com.huawei.agconnect:agcp:1.3.2.301'
}
}
allprojects {
repositories {
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://maven.aliyun.com/repository/public' }//jcenter
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }//gradle-plugin
maven { url 'https://maven.aliyun.com/repository/central' }//central
maven { url 'https://maven.aliyun.com/repository/google' }//google
google()
jcenter()
//maven{url "https://maven.google.com"}
maven { url "https://jitpack.io" }
//maven {url 'http://developer.huawei.com/repo/'}
flatDir {
dirs 'libs'
}
}
}
注释掉google
问题最终解决了