小编Arv*_*tri的帖子

Gradle - 找不到 androidx.core:core:1.0.0

我正在尝试使用 gms:play-services-location 并在项目中使用这些依赖项列表,但 gradle 找不到其中任何一个并不断给出 403 和 404 错误:

    implementation 'com.google.android.material:material:1.3.0'
    implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
    implementation "com.mikepenz:materialdrawer:6.1.2"
    implementation 'com.aurelhubert:ahbottomnavigation:2.3.4'
    implementation 'com.github.gongw:verifycodeview:1.0.2'
    implementation 'com.nabinbhandari.android:permissions:3.8'
    implementation 'com.google.android.gms:play-services-location:17.0.0'
Run Code Online (Sandbox Code Playgroud)

梯度错误:

Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find androidx.appcompat:appcompat:1.2.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/androidx/appcompat/appcompat/1.2.0/appcompat-1.2.0.pom
       - https://jcenter.bintray.com/androidx/appcompat/appcompat/1.2.0/appcompat-1.2.0.pom
       - https://www.jitpack.io/androidx/appcompat/appcompat/1.2.0/appcompat-1.2.0.pom
     Required by:
         project :app
   > Could not find com.google.android.material:material:1.3.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/google/android/material/material/1.3.0/material-1.3.0.pom
       - https://jcenter.bintray.com/com/google/android/material/material/1.3.0/material-1.3.0.pom
       - https://www.jitpack.io/com/google/android/material/material/1.3.0/material-1.3.0.pom
     Required by:
         project :app
   > Could …
Run Code Online (Sandbox Code Playgroud)

android gradle

3
推荐指数
1
解决办法
1935
查看次数

标签 统计

android ×1

gradle ×1