Android용 Maps SDK 버전
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Google Maps Platform팀은 새로운 기능, 버그 수정, 성능 개선 사항을 반영하여 SDK를 정기적으로 업데이트합니다. 이 페이지에서는 모바일 SDK의 종속 항목을 관리하는 방법을 안내합니다.
연결할 버전
-
미션 크리티컬 앱의 경우 사용 중인 메이저 버전의 최신 도트 버전(X.*)에 연결하고 매년 새 메이저 버전으로 업그레이드하세요.
새 버전의 애플리케이션을 일 년 내내 출시하면 Android용 Maps SDK의 최신 도트 버전을 사용할 수 있습니다. 새 도트 버전은 이전 버전과 호환되므로 애플리케이션에서 업데이트하지 않아도 됩니다.
장점:
- Android용 Maps SDK에서 문제가 발견되면, 모바일 지원 정책에 따라 메이저 버전의 첫 출시 후 12개월 동안 이전 버전과 호환되는 방식으로 수정이 이루어집니다. 호환되지 않는 SDK 버전으로 급하게 업그레이드하지 않아도 수정사항의 이점을 누릴 수 있습니다.
- 앱이 이미 최신 버전으로 빌드되면 최신 개선사항과 기능을 쉽게 적용할 수 있습니다.
- 한 해 동안 점진적으로 최신 메이저 버전의 SDK에 대한 업데이트가 이루어지면 여러 메이저 버전에 도입된 하위 비호환 변경사항을 처리해야 할 때보다 더 적은 노력으로 애플리케이션을 조정, 재작성, 테스트할 수 있습니다.
미션 크리티컬 앱이 아닌 경우 수정된 버전에 연결합니다. 수정된 버전에 대한 지원 중단 알림을 받은 경우 12개월 이내에 업데이트된 앱 코드를 사용자에게 제공해야 합니다.
장점:
- 유지보수 작업 빈도가 줄어듭니다.
- 앱의 새 버전은 새 SDK 버전으로 업그레이드해야 할 때까지 이전 모바일 운영체제를 실행하는 사용자의 기기를 더 오래 지원합니다.
모니터링되는 이메일 주소가 있는 프로젝트 소유자는 각 프로젝트에 영향을 미치는 변경사항에 대한 사전 알림을 받습니다. 주요 업데이트, 지원 중단 및 기타 변경사항에 대한 최신 정보를 확인하세요.
설치
앱 수준 build.gradle
파일에서는 항상 예측할 수 없고 반복 불가능한 빌드로 이어질 수 있는 접두사 범위(+
) 또는 latest
대신 버전을 지정합니다. Android용 Maps SDK는 의미론적 버전 관리를 준수하며, 중요한 새로운 메이저 버전에는 브레이킹 체인지가 포함될 수 있습니다. 지원되는 최소 API 수준은 19입니다.
Gradle 구문을 사용하여 Google Play 서비스 내에서 지도 종속 항목을
지정합니다.
dependencies {
// Maps SDK for Android
implementation 'com.google.android.gms:play-services-maps:18.2.0'
}
Google Play 서비스 버전 관리에 대한 추가 안내를
참고하세요.
유지보수 및 업그레이드
Android 스튜디오에서는 사용 가능한 최신 버전을 자동으로 확인하고
최신 버전의 종속 항목이 이용 가능할 때 경고를 표시합니다. 기술 부채를 최소화하려면 사용 가능한 최신 버전으로
최대한 빨리 업데이트하세요. 새로운 메이저 버전으로 업데이트하는 경우 출시 노트를 확인하여 이전 버전과 호환되지 않는 변경사항을 확인하고 코드 업데이트 방법을 살펴보세요.
Google Cloud 프로젝트 소유자는 최신 버전에 대한 설문조사 외에도 이전 버전과 호환되지 않아 프로젝트에 영향을 줄 수도 있는 변경사항에 관한 이메일을 받게 됩니다. 이전 버전과 호환되지 않는 변경사항에 관한 사전 알림을 받으려면 프로젝트별로 모니터링되는 이메일 주소를 보유하는 소유자 역할을 할당하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-06-26(UTC)
[null,null,["최종 업데이트: 2024-06-26(UTC)"],[[["\u003cp\u003eGoogle Maps Platform SDKs are regularly updated with new features, bug fixes, and performance improvements.\u003c/p\u003e\n"],["\u003cp\u003eFor mission-critical apps, link to the latest dot release of the major version and upgrade yearly to ensure you receive timely fixes and benefit from the latest improvements.\u003c/p\u003e\n"],["\u003cp\u003eFor non-critical apps, link to any fixed version and update within 12 months of receiving a deprecation notice, allowing for less frequent maintenance.\u003c/p\u003e\n"],["\u003cp\u003eAlways specify a fixed version number for the Maps SDK dependency in your \u003ccode\u003ebuild.gradle\u003c/code\u003e file to ensure predictable and repeatable builds, and proactively monitor for updates and backwards-incompatible changes to minimize technical debt.\u003c/p\u003e\n"]]],["For mission-critical apps, link to the latest dot release (X.\\*) of your major version and upgrade annually. This ensures backward-compatible fixes and easier adoption of new features. Non-critical apps can use any fixed version, receiving a 12-month deprecation notice for updates. Always specify a fixed version in your `build.gradle` file to avoid unpredictable builds. Maintain updates regularly and check release notes for major version changes. Project owners receive email notifications on backwards incompatible changes.\n"],null,["Select platform: [Android](/maps/documentation/android-sdk/versions \"View this page for the Android platform docs.\") [iOS](/maps/documentation/ios-sdk/versions \"View this page for the iOS platform docs.\") [JavaScript](/maps/documentation/javascript/versions \"View this page for the JavaScript platform docs.\")\n\nThe Google Maps Platform team regularly updates SDKs with new features, bug fixes, and\nperformance improvements. This page provides guidance on how to manage your dependencies\non mobile SDKs.\n\nWhich version to link to?\n\n- **For mission-critical apps**, link to the latest dot release of the major\n version that you are using (X.\\*), and upgrade yearly to the new major version.\n\n As you release new versions of your application\n throughout the year, you may start using newer dot versions of the Maps SDK for Android. This will\n not require updates in your application as new dot versions are backward compatible.\n\n **Benefits:**\n - If you discover issues in the Maps SDK for Android, fixes will be provided in a backward-compatible way for 12 months after the initial release of the major version, per the [Mobile support\n policy](https://developers.google.com/maps/software-support#sdk-support). You will not need to urgently upgrade to an *incompatible* SDK version to benefit from fixes.\n - The latest improvements and features are easy to adopt when your app is already built on the latest version.\n - Annual incremental updates to the newest major version of the SDK may require less work to adapt, rewrite, and test your application, than having to handle backwards-incompatible changes introduced across multiple major version releases.\n\n \u003cbr /\u003e\n\n- **For non-critical apps**, link to any fixed version. When you receive a deprecation\n notice for that fixed version, you will have 12 months to make your updated app code available to\n your users.\n\n **Benefits:**\n - Less frequent maintenance work.\n - New versions of your app keep supporting users' devices running older mobile operating systems for longer (until you need to upgrade to a new SDK version).\n\n \u003cbr /\u003e\n\nProject Owners with monitored email addresses receive proactive notifications about changes that\nimpact each of their projects. [Stay\ninformed](https://developers.google.com/maps/support#staying_informed) about major updates, deprecations, and other changes.\n\nInstallation\n\nIn your app-level `build.gradle.kts` or `build.gradle` file, always specify\na version instead of a prefix range (`+`) or `latest` since these can lead\nto unpredictable and unrepeatable builds. The Maps SDK for Android adheres to\n[semantic versioning](https://semver.org), and new\nmajor version releases may include breaking changes. **The minimum API level supported is\n21**.\n\nSpecifying the Maps dependency within Google Play services using\n[Gradle syntax](https://docs.gradle.org/current/userguide/single_versions.html). \n\n```carbon\ndependencies {\n\n // Maps SDK for Android\n implementation(\"com.google.android.gms:play-services-maps:19.2.0\")\n}\n```\n\nSee additional guidance for\n[managing Google\nPlay services versioning](https://developers.google.com/android/guides/versioning).\n\nMaintenance and upgrade\n\nAndroid Studio automatically checks for newer available versions and provides a warning when a\nnewer version of a dependency is available. To minimize technical debt, update to the newest\navailable version as soon as possible. If you are updating to a new major version,\n[check the release notes](/maps/documentation/android-sdk/releases)\n\nfor backwards-incompatible changes and how to update your code.\n| **Note:**The minimum API level required by Maps SDK for Android version 19.0.x is Android API Level 21 (\"Lollipop\"; Android 5.0) or higher.\n\nIn addition to polling for newer versions, Google Cloud\n[project\nowners](https://cloud.google.com/iam/docs/understanding-roles#basic-definitions) receive emails about backwards incompatible changes that may\naffect their projects. To get proactive notification about backwards incompatible\nchanges, [assign\nthe owner role](https://cloud.google.com/iam/docs/granting-changing-revoking-access) with a monitored email address for each of your projects."]]