[英]what is the suitable dependency of facebook login for build version 26 in android? I am getting an error for newest versions
This is an image of my
build.gradle
file of the app level and is it's clear, I am getting some compatibility error. 这是我的应用程序级别的
build.gradle
文件的图像,很明显,我遇到一些兼容性错误。
I tried a few different dependencies for facebook login but I got the same error and neither am I able to find a proper documentation with information of proper dependency for every build version. 我为Facebook登录尝试了几种不同的依赖关系,但是却遇到了相同的错误,而且我也找不到适合每个构建版本的具有正确依赖关系信息的正确文档。
Add this before dependencies
在
dependencies
之前添加它
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion "26.0.1"
}
}
}
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.