gpt4 book ai didi

android - 如何解决 "gradle failed resolve com.theartofdev.edmodo:android-image-cropper:+"

转载 作者:塔克拉玛干 更新时间:2023-11-02 22:30:29 25 4
gpt4 key购买 nike

我安装了新版本的 Android Studio“2.1.0.9”。现在同步 gradle 错误消息时:

gradle failed resolve com.theartofdev.edmodo:android-image-cropper:+

我使用了任何版本的图像裁剪器,但仍然存在此消息。 Gradle :

buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}

dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'

repositories {
mavenCentral()
jcenter()
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:support-v4:23.1.1'
compile 'com.google.android.gms:play-services:8.4.0'
compile 'com.github.dmytrodanylyk.circular-progress-button:library:1.1.3'
compile 'com.theartofdev.edmodo:android-image-cropper:2.0.+'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.5.0'
}
android {
compileSdkVersion 'Google Apis:Google Apis:23'
buildToolsVersion '23.0.2'
useLibrary 'org.apache.http.legacy'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
defaultConfig {
minSdkVersion 14
targetSdkVersion 23
}

最佳答案

你应该用这个替换依赖

compile 'com.theartofdev.edmodo:android-image-cropper:2.3.1'

对我有用

关于android - 如何解决 "gradle failed resolve com.theartofdev.edmodo:android-image-cropper:+",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36996372/

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