You should delete a line apply plugin: 'com.google.gms.google-services' because "com.android.application" package already has same package.