-
안드로이드 앱 빌드 오류 - Execution failed for task ':app:mapDebugSourceSetPaths'.프로그래밍/ 안드로이드어플만들기 2023. 8. 8. 10:18728x90반응형
안드로이드 스튜디오 새로운 버전을 깔았더니 gradle을 업데이트하라고 해서 진행했더니
아래와 같은 에러가 나왔다.
1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:mapDebugSourceSetPaths'. > Error while evaluating property 'extraGeneratedResDir' of task ':app:mapDebugSourceSetPaths' > Failed to calculate the value of task ':app:mapDebugSourceSetPaths' property 'extraGeneratedResDir'. > Querying the mapped value of provider(java.util.Set) before task ':app:processDebugGoogleServices' has completed is not supported
The same issue seems to appear with the latest Android Studio Electric Eel where you need to specify the Gradle version to be 7.4.0 and Google Services 4.3.15.I have seen the same issue with the latest Android Studio Dolphin release, where you need to specify the Gradle version to be 7.3.1 and Google Services 4.3.14.
스택오버플로에서 google services 버전을 업데이트하라고 해서 4.3.10 에서 4.3.15로 업데이트 했더니 이슈가 해결되었다.
dependencies { classpath 'com.android.tools.build:gradle:7.4.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files // Add the Google Services plugin (check for v3.1.2 or higher). classpath 'com.google.gms:google-services:4.3.10' }
728x90반응형'프로그래밍 > 안드로이드어플만들기' 카테고리의 다른 글