반응형
다음과 같은 오류는 google.android.gms.service가 충돌해서 발생하는 오류이다.
Naver Map API 사용하는 경우 대부분 자신의 위치 기반으로 geolocator를 사용하고 둘 다 google.android.gms.service.location를 사용하기 때문에 발생한다.
충돌지점은 20.0.0버전의 이후와 이전으로 20.0.0 버전으로 넘어가는 과정에서 에러가 발생한다고 한다.
해결방법으로 20.0.0 이후 버전으로 맞춰주거나 이전버전으로 통합 맞춰주면 된다.
allprojects {
repositories {
google()
mavenCentral()
}
configurations.all{
resolutionStrategy{
force "com.google.android.gms:play-services-location:21.0.1"
}
}
}
flutter 프로젝트 root 경로/android/build.gradle
반응형
'Flutter 개발 일지' 카테고리의 다른 글
[ Error ] Incorrect use of ParentDataWidget (1) | 2024.09.18 |
---|---|
[Flutter] 환경 변수 설정 - API Key 값 숨기기 (0) | 2024.06.30 |
Flutter Error : The binary version of its metadata is ~, expected version is ~ (0) | 2024.06.17 |
Android Build Tree 확인 (0) | 2024.06.17 |
KaKao Map Rest API + Flutter 사용해보기 ( http 통신 ) - 3 ( API GateWay) (0) | 2024.06.04 |