Reputation: 41
Class referenced in the manifest,
com.theartofdev.edmodo.cropper.CropImageActivity
, was not found in the project or the libraries
CropImageActivity
is not working in Android.
I tried to change the manifest.xml files and update the build.gradle dependencies but nothing worked,
Please Update
Upvotes: 4
Views: 2391
Reputation: 61
The solution is in Setting.gradle
(project setting)
only put
jcenter()
maven { url 'https://jitpack.io' }
in the following:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
jcenter()
maven { url 'https://jitpack.io' }
}
}
Upvotes: 5
Reputation: 1
Update dependency with this :
implementation ("com.theartofdev.edmodo:android-image-cropper:2.8.0")
Upvotes: 0