build.gradle(プロジェクト)
buildscript{
dependencies{
classpath 'com.google.gms:google-services:4.3.4'
}
}
build.gradle(モジュール)
plugins{
id 'com.google.gms.google-services'
}
dependencies{
implementation platform('com.google.firebase:firebase-bom:26.3.0')
implementation 'com.google.firebase:firebase-analytics-ktx'
}