我也不知道原因,只能認爲是 Android stuido jkd問題
android studio 單元測試沒法識別 項目中的類
錯誤1:
錯誤2:
升級gradle後:Could not set unknown property 'includeCompileClasspath' f
問題解決了,不過不知道具體問題。
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
升級爲
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip