【发布时间】:2025-12-04 03:00:02
【问题描述】:
我正在使用来自这个库 com.github.chrisbanes:PhotoView:1.3.1 的 photoview。但是我的 Gradle 没有同步。
我已经在这个 url 上添加了来自 Gradle Dependancy 的 Maven 代码:https://github.com/chrisbanes/PhotoView
【问题讨论】:
-
@ρяσѕρєяK 我已经这样做了,但错误即将到来
-
你添加
maven { url "https://jitpack.io" }了吗? -
确保你添加到你的根 gradle 。类路径 'com.github.dcendents:android-maven-gradle-plugin:1.5'
-
@chris:像 Gradle 和 Maven 这样的名称不是代码,因此不需要格式化。初始上限很好。
标签: android android-gradle-plugin android-photoview