I had this error
Error:(45, 0) Gradle DSL method not found: \'implementation()\' Possible causes:The project \'LaTaxi2\' may be using a
or if you don't want to update to the latest Gradle, go back to using DSL method compile() instead of implementation()
compile()
implementation()