解決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