No signature of method: .android() is applicable for argument types. Exception in build.gradle (app)

Best way to deal with this is going in the android { ... } block and start commenting out different methods/blocks until the configuration moves past the .android() error and you’ll know which block is causing it. In my case it was a deprecated method in the buildTypes { ... } block.

Leave a Comment