반응형
오류메세지
* Exception is:
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.google.gms.google-services'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (plugin dependency must include a version number for this source)
at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.resolveToFoundResult(DefaultPluginRequestApplicator.java:243)
at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.lambda$resolvePluginRequests$3(DefaultPluginRequestApplicator.java:169)
at org.gradle.util.internal.CollectionUtils.collect(CollectionUtils.java:207)
at org.gradle.util.internal.CollectionUtils.collect(CollectionUtils.java:201)
...
원인 및 해결법
: build.gradle (Module)의 plugins에
id 'com.google.gms.google-services'
이것만 추가해서 그렇다.
build.gradle (Project)의 plugins에
id 'com.google.gms.google-services' version '4.3.10' apply false
를 추가해주면 해결된다.
반응형
'Programming > Android' 카테고리의 다른 글
You need to use a Theme.AppCompat theme (or descendant) with this activity 오류해결 (0) | 2022.10.31 |
---|---|
LinearLayout에서 아이템 양쪽 정렬 배치 (0) | 2022.10.25 |
A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction 오류 해결 (0) | 2022.10.25 |
안드로이드 진동 울리기 (VIBRATE) (0) | 2022.10.24 |
Firebase로 Google Auth시 activityResult.resultCode:0 오류 해결방법 (0) | 2022.10.21 |