IT이야기

구성 reactive-native-maps에서 "supportLibVersion", "playServicesVersion" 및 "androidMapsUtilsVersion" 값을 확인하십시오.

cyworld 2022. 3. 21. 08:56
반응형

구성 reactive-native-maps에서 "supportLibVersion", "playServicesVersion" 및 "androidMapsUtilsVersion" 값을 확인하십시오.

설치하는 중react-native-maps. 설치 안내서의 3.1절 Android에서 빌드 구성에 다음과 같은 내용이 수록되어 있다.

buildscript {
    ext {
        buildToolsVersion = "xxx"
        minSdkVersion = xxx
        compileSdkVersion = xxx
        targetSdkVersion = xxx
        supportLibVersion = "xxx"
        playServicesVersion = "xxx" // or set latest version
        androidMapsUtilsVersion = "xxx"
    }
}
...

어떻게 하면 얻을 수 있을까?supportLibVersion,playServicesVersion그리고androidMapsUtilsVersion가치관?

일반적으로 모든 도서관은 면봉된 저장소에서 찾을 수 있다.일부 사용자는 버전 번호를 얻기 위해 콘크리트 라이브러리를 보아야 한다(이 번호는 빌드.grade 파일에 입력한 번호임).일반적으로 그룹의 일부인 모든 라이브러리는 동일한 버전 번호를 지원해야 한다(그렇지 않으면 컴파일 오류가 발생하여 구체적인 버전을 확인하고 필요한 라이브러리를 위해 존재하는지 확인해야 함).

GooglePlayServicesVersion:
https://mvnrepository.com/artifact/com.google.android.gms/play-services-maps

AndroidMapsUtilsVersion:
https://mvnrepository.com/artifact/com.google.maps.android/android-maps-utils

supportLibVersion:
https://mvnrepository.com/search?q=com.android.support
라이브러리 내(예: https://mvnrepository.com/artifact/com.android.support/appcompat-v7)를 참조하십시오.

다음을 시도해 보십시오.

ext {
    compileSdkVersion           = 28
    targetSdkVersion            = 28
    buildToolsVersion           = "28.0.3"
    googlePlayServicesVersion   = "17.0.0"
    supportLibVersion           = "27.1.0"
    androidMapsUtilsVersion     = "0.5+"
    minSdkVersion               = 16
}

참조URL: https://stackoverflow.com/questions/58806151/get-supportlibversion-playservicesversion-and-androidmapsutilsversion-va

반응형