1. 程式人生 > >Configuration 'compile' is obsolete and has been replaced with 'implementation'. It will be removed

Configuration 'compile' is obsolete and has been replaced with 'implementation'. It will be removed

AndroidStudio升級過程中,真的是一腳一個坑啊,好不容易解決完前面的問題,新問題又來了。

Configuration 'compile' is obsolete and has been replaced with 'implementation'.
It will be removed at the end of 2018

大概意思是在2018年底,compile配置項將被‘implementation’取代,所以將配置檔案中的compile配置項改為implementation,重新進行編譯。注意哦,如果該專案有引用其他庫檔案或者module,裡面的內容也需要改。

終於編譯通過了~bingo