解决You should manually set the same version via DependencyResolution问题.


Flutter 多个插件引用的依赖包版本不一样,导致冲突:

处理方式强制使用同一个版本。

在项目的Gradle配置以下代码即可:

subprojects {
    project.configurations.all {
        resolutionStrategy.eachDependency { details ->
            if (details.requested.group == 'com.android.support'
                    && details.requested.name.contains('support-compat')) {
                details.useVersion "28.0.0"
            }
        }
    }
}

 

参考文档:https://blog.csdn.net/Summer_may/article/details/80435926


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



猜您在找 Android dependency has different version.You should manually set the same version via DependencyReso 解决Python中出现的问题: “You are using pip version 9.0.1, however version 19.2.3 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.” 解决如下问题:You are using pip version 8.1.1, however version 18.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command. You are using pip version 10.0.1, however version 18.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.解决方法 解决You are using pip version 10.0.1, however version 18.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. 解决You are using pip version 9.0.1, however version 10.0.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. 解决:使用pip命令安装第三方库时报错WARNING: You are using pip version 19.2.3, however version 20.1.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. 【pycharm】Python pip升级及升级失败解决方案,报错:You are using pip version 10.0.1, however version 21.3.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. 成功解决You are using pip version 9.0.1, however version 9.0.3 is available. You should consider upgra You are using pip version 9.0.1, however version 18.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM