gpt4 book ai didi

android - 无法解析 : com. android.volley :volley:1. 1.0 ....glide :3. 7.0

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:01:33 25 4
gpt4 key购买 nike

'gradle' 'import' 已完成。然后我遇到了问题。帮助。

D:\bg.jou\GanggoContacts\build.gradle

Error:(25, 13)

Failed to resolve: com.android.volley:volley:1.1.0
<a href="openFile:D:/bg.jou/GanggoContacts_v34_insert_error/build.gradle">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>

Error:(26, 13)

Failed to resolve: com.github.bumptech.glide:glide:3.7.0
<a href="openFile:D:/bg.jou/GanggoContacts_v34_insert_error/build.gradle">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>

不完整的问题

buildscript {
repositories {
jcenter()
mavenCentral()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.google.gms:google-services:3.1.0'
}
}

dependencies {
//compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support:appcompat-v7:22.0.0'
compile 'com.google.android.gms:play-services-gcm:11.8.0'
compile fileTree(include: '*.jar', dir: 'libs')

compile project(':fingerpush_3.0.7')
compile 'com.android.volley:volley:1.1.0'
compile 'com.github.bumptech.glide:glide:3.7.0'
}

最佳答案

jcenter() is now deprecated.

在 app 的 build.gradle 中使用它:'com.android.volley:volley:1.2.0'

这在 build.gradle 中:

repositories {
google()
mavenCentral()
}

关于android - 无法解析 : com. android.volley :volley:1. 1.0 ....glide :3. 7.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48654355/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com