java - Gradle Sync 无法解决:exifinterface - myhexaville 智能图像选择器
问题描述
当我使用此依赖项'com.myhexaville:smart-image-picker:1.0.3'时出现此错误当我评论此依赖项时,gradle 同步成功。请为我建议一个适当的解决方案来解决这个问题。
解决方案
将 Google 的 Maven 存储库添加到项目的 build.gradle 文件中:
allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
}
如果您使用的是 android-studio 3.0 或更高版本,请使用:
allprojects {
repositories {
jcenter()
google()
}
}
推荐阅读
- ios - iOS/Safari 上的 Webauthn 状态如何?
- java - 不使用任何库的 JSON 解析子项
- java - 运行“RegistrationActivity”时出错:必须导出活动或包含意图过滤器
- css - 将嵌套的子元素与 CSS 网格对齐
- javascript - 单击“添加任务”后,如何让我的文本出现在任务下?
- javascript - 向下滚动时如何更改徽标动画?(如 Awwward 网站标志)
- sql - 如何使用表 A 中 SELECT 的结果,使用 IN 限制表 B 的 SELECT
- javascript - 在 react 组件挂载之前加载 cms 内容
- matlab - matlab中的高精度毫秒定时器
- ruby - 在这个例子中,Ruby 中是否有一个函数可以增加数组中的对象变量?