Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Class referenced in the manifest, `com.theartofdev.edmodo.cropper.CropImageActivity`, was not found in the project or the libraries

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

like image 843
Harshit Sahu Avatar asked Oct 13 '25 07:10

Harshit Sahu


1 Answers

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' }
    }
}
like image 177
Yasser JE Avatar answered Oct 14 '25 20:10

Yasser JE