Android Studio報錯Failed to resolve: junit:junit:4.12解決方案

當在Android Studio導入別人的項目時,項目會報錯Failed to resolve: junit:junit:4.12: 解決辦法: 1、直接註釋掉,這其實是一種逃避錯誤的方法; 2、在E:\android\app (工程文件目錄) 下面的 build.gradle 文件中添加maven: allprojects { repositories { google(
相關文章
相關標籤/搜索