1. 程式人生 > >Gradle DSL method not found: 'implementation()'錯誤解決

Gradle DSL method not found: 'implementation()'錯誤解決

今天在hithub上面下載了一個liblary後使用as進行gradle資料一直提示Gradle DSL method not found: 'implementation()',各種百度後得到一個答案dependencies { }中的所有 compile 語句必須換行書寫,不可以兩個 compile 語句在一行裡。

但是我用了這個依舊不行,我忽然發現compile必須在第一個顯示

這樣Juin解決了