//j解决You should manually set the same version via DependencyResolution问题.
//Flutter 多个插件引用的依赖包版本不一样,导致冲突:
文件.../android/build.gradle 添加以下内容
subprojects {
project.configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.group =='androidx.core' &&
!details.requested.name.contains('androidx')) {
details.useVersion"1.0.1"
}
}
}
}
网友评论