build1 build.gradle all buildscript {} blocks must appear before any plugins {} blocks in the script error buildScript의 위치가 plugins 보다 뒤에 있으면 안된다. 아래처럼 해결 buildscript { repositories { // Make sure that you have the following two repositories google() // Google's Maven repository mavenCentral() // Maven Central repository } dependencies { // Add the dependency for the Google services Gradle plugin classpath 'com.google.gms:google-services:4.3.13' } } plugins { id 'com.android.application' version '7.3.. 2022. 10. 26. 이전 1 다음