Error:(36, 0) Gradle DSL method not found: 'implementation()' Possible cause

最近在引用庫文件時使用了implementation這個參數,接下來就遇到編譯錯誤,原來使用這個參數需要Android 3.0.0,gradle版本必須在3.4以上
To use the DSL implementation() you have to use:

The updated gradle plugin for Android 3.0.0
The gradle version 3.4 or later

還有一種最簡單的辦法就是在build.gradle裏將implementation改爲compile即可!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章