【问题标题】:Class referenced in the manifest, `com.theartofdev.edmodo.cropper.CropImageActivity`, was not found in the project or the libraries在项目或库中找不到清单中引用的类“com.theartofdev.edmodo.cropper.CropImageActivity”
【发布时间】:2022-11-15 10:41:22
【问题描述】:

在项目或库中找不到清单中引用的类 com.theartofdev.edmodo.cropper.CropImageActivity

CropImageActivity 在 android 中不起作用。 我尝试更改 manifest.xml 文件并更新 build.gradle 依赖项,但没有任何效果, 请更新

【问题讨论】:

  • 请提供足够的代码,以便其他人更好地理解或重现问题。

标签: android api image-cropper


【解决方案1】:

解决方法在Setting.gradle(project setting)

放 jcenter() 和 maven { url 'https://jitpack.io' } 仅在流动中:

dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
    google()
    mavenCentral()
    jcenter() 
    maven { url 'https://jitpack.io' }
}

}

【讨论】:

    猜你喜欢
    • 2015-02-16
    • 1970-01-01
    • 2021-01-27
    • 1970-01-01
    • 1970-01-01
    • 2021-08-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多