Getting a bug, when I try to compile my project in studio , i have search quite a bit with no real solution to it
Error:(17, 0) Could not find method android() for argu
I had same problem if your android block is in module's build.gradle and use google services, just add these 2 lines before android block:
apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services'