...
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
classpath 'com.google.gms:google-services:4.2.0' //gunakan versi 4.2.0 krn 4.1.0 bermasalah
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
...