android - 无法解决:'com.github.kolavar:android-support-v4-preferencefragment:-SNAPSHOT'
问题描述
我正在尝试将此 GitHub 库 https://github.com/kolavar/android-support-v4-preferencefragment 与我的 Android 应用程序一起使用。
使用https://jitpack.io/#kolavar/android-support-v4-preferencefragment给出的说明
我将maven { url ' https://jitpack.io ' }添加到我项目的 Build.Gradle
allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
}
}
然后将'implementation 'com.github.kolavar:android-support-v4-preferencefragment:-SNAPSHOT'添加到应用程序 Build.Gradle 文件中。
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
implementation 'com.android.support:support-v4:27.1.1'
testImplementation 'junit:junit:4.12'
compile 'com.github.clans:fab:1.6.4'
implementation 'com.github.kolavar:android-support-v4-preferencefragment:-SNAPSHOT'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
compile 'com.android.support:design:27.1.1'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
这会导致无法解决错误消息。任何帮助将不胜感激 :)
解决方案
推荐阅读
- c# - 是否有在并发环境中跨多个渠道处理 RabbitMq 发布者确认的最佳实践?
- excel - 使用 Active.cell.column 和行范围的 VBA 范围
- lua - 有没有办法将列表拆分为块?
- c# - 遍历所有未选中的复选框(foreach 或 for-loop,Windows 窗体)
- asp.net-mvc - 如何在 ASP.Net Core 中将密码重置为不同的域?
- python - 如何强制 pyinstaller 使用原始 .py 文件进行快速更新而不重新创建 exe?
- python - 解析字符串中的嵌套引用
- javascript - “提交”事件处理程序只触发一次,第一次后不会工作
- swiftui - KFImage图像加载但不显示?
- flutter - 我试图从 cloud firestore 获取文档,但我无法,因为“没有为类型 'QuerySnapshot' 定义 getter 'documents'