找不到任何与com.theartofdev.edmodo:android image cropper:+;

找不到任何与com.theartofdev.edmodo:android image cropper:+;,android,cordova,ionic-framework,android-gradle-plugin,cordova-plugins,Android,Cordova,Ionic Framework,Android Gradle Plugin,Cordova Plugins,我必须在我的自定义cordoava插件中使用这个添加的gardle文件来维护依赖关系 //build.gradle dependencies { repositories { mavenCentral() } compile 'com.android.support:appcompat-v7:23.2.1' compile 'com

我必须在我的自定义cordoava插件中使用这个添加的gardle文件来维护依赖关系

        //build.gradle

        dependencies {
            repositories {
                  mavenCentral()
            }
            compile 'com.android.support:appcompat-v7:23.2.1'
            compile 'com.sothree.slidinguppanel:library:3.3.1'
            compile 'com.theartofdev.edmodo:android-image-cropper:+'
        }
但在构建项目时(应用程序在爱奥尼亚开发),我得到了以下错误

        FAILURE: Build failed with an exception.

        * What went wrong:

        A problem occurred configuring root project 'android'.
        > Could not resolve all dependencies for configuration ':_debugCompile'.
           > Could not find any version that matches com.theartofdev.edmodo:android-image-cropper:+.
             Searched in the following locations:
                 https://repo1.maven.org/maven2/com/theartofdev/edmodo/android-image-cropper/maven-metadata.xml

                 https://repo1.maven.org/maven2/com/theartofdev/edmodo/android-image-cropper/
                 file:/Users/santosh/Documents/Developer/android-sdk-macosx/extras/android/m2repository/com/theartofdev/edmodo/android-image-cropper/maven-metadata.xml
                 file:/Users/santosh/Documents/Developer/android-sdk-macosx/extras/android/m2repository/com/theartofdev/edmodo/android-image-cropper/
                 file:/Users/santosh/Documents/Developer/android-sdk-macosx/extras/google/m2repository/com/theartofdev/edmodo/android-image-cropper/maven-metadata.xml
                 file:/Users/santosh/Documents/Developer/android-sdk-macosx/extras/google/m2repository/com/theartofdev/edmodo/android-image-cropper/
             Required by:
                 :android:unspecified
请帮助我解决此问题。

尝试使用:

compile 'com.theartofdev.edmodo:android-image-cropper:2.1.4'
这对我来说很好。

尝试使用:

compile 'com.theartofdev.edmodo:android-image-cropper:2.1.4'
这对我来说很好。

到您的存储库

repositories {
    jcenter() 
    mavenCentral()
}

dependencies {
    compile 'com.android.support:appcompat-v7:23.2.1'
    compile 'com.sothree.slidinguppanel:library:3.3.1'
    compile 'com.theartofdev.edmodo:android-image-cropper:2.3.+'
}
到您的存储库

repositories {
    jcenter() 
    mavenCentral()
}

dependencies {
    compile 'com.android.support:appcompat-v7:23.2.1'
    compile 'com.sothree.slidinguppanel:library:3.3.1'
    compile 'com.theartofdev.edmodo:android-image-cropper:2.3.+'
}

谢谢你,很抱歉它不起作用收到错误现在找不到com.theartofdev.edmodo:android图像裁剪器:2.1.4。谢谢你,很抱歉它不起作用收到错误现在找不到com.theartofdev.edmodo:android图像裁剪器:2.1.4。