无法解析: com.theartofdev.edmodo:android-image-cropper:2.7.0

作者: sermyagin创建于 2024年11月11日更新于 2026年3月22日

android { compileSdkVersion 34 namespace 'com.qscan.qrscannerapp' defaultConfig { applicationId "com.qscan.qrscannerapp" minSdkVersion 23 targetSdkVersion 34 versionCode 1547 versionName "4.5.2 release(4.5.2.1548)" multiDexEnabled true testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' }

signingConfigs {
    release {
        keyAlias 'livefriend'
        keyPassword 'dadada'
        storeFile file('C:\\android\\livefriend.jks')
        storePassword 'dadada'
    }
}

buildTypes {
    release {
        signingConfig signingConfigs.release
    }
    debug {
        signingConfig signingConfigs.debug
    }
}

lintOptions {
    checkReleaseBuilds false
}

repositories {

}

configurations.all {
    resolutionStrategy {
        eachDependency { DependencyResolveDetails details ->
            def requested = details.requested
            // Forcing the version of android-image-cropper
            // Forcing version for Android Support libraries
            if (requested.group == 'com.android.support' && !requested.name.startsWith("multidex")) {
                details.useVersion '28.0.0'
            }
        }
    }
}

}

dependencies { implementation fileTree(dir: 'libs', include: ['*.jar'])

implementation 'androidx.multidex:multidex:2.0.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
implementation

内容来源: ArthurHub/Android-Image-Cropper