본문 바로가기

개발 이야기

[Error] Some problems were found with the configuration of task ':app:processDebugGoogleServices'

[Error]

processDebugGoogleServices
에러 로그

Some problems were found with the configuration of task ':app:processDebugGoogleServices' (type 'GoogleServicesTask').
  - Type 'com.google.gms.googleservices.GoogleServicesTask' field 'intermediateDir' without corresponding getter has been annotated with @OutputDirectory.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

 

 

 

[해결방법]

google-services

에러가 project\build.gradle line13을 가리켰지만, 저 부분은 냅두고.

 

google-services
여기를 주석처리

app\build.gradle에 

apply plugin: 'com.google.gms.google-services'

이 부분을 주석처리해준다.

 

app\build.gradle에 

apply plugin: 'com'android.application'

이 plugin 안에 구글서비스 패키지를 포함하고 있어서 발생한 문제인듯하다.