Google মানচিত্র প্ল্যাটফর্ম টিম নিয়মিত নতুন বৈশিষ্ট্য, বাগ ফিক্স এবং কর্মক্ষমতা উন্নতি সহ SDK আপডেট করে। এই পৃষ্ঠাটি কীভাবে মোবাইল SDK-তে আপনার নির্ভরতা পরিচালনা করতে হয় তার নির্দেশিকা প্রদান করে।
কোন সংস্করণ লিঙ্ক?
মিশন-সমালোচনামূলক অ্যাপগুলির জন্য , আপনি যে প্রধান সংস্করণটি ব্যবহার করছেন তার সর্বশেষ ডট রিলিজের সাথে লিঙ্ক করুন (X.*), এবং নতুন প্রধান সংস্করণে বার্ষিক আপগ্রেড করুন৷
আপনি সারা বছর ধরে আপনার অ্যাপ্লিকেশনের নতুন সংস্করণ প্রকাশ করার সাথে সাথে আপনি Android এর জন্য Maps SDK-এর নতুন ডট সংস্করণগুলি ব্যবহার করা শুরু করতে পারেন৷ এর জন্য আপনার অ্যাপ্লিকেশনে আপডেটের প্রয়োজন হবে না কারণ নতুন ডট সংস্করণগুলি পশ্চাদপদ সামঞ্জস্যপূর্ণ।
সুবিধা:
আপনি যদি Android এর জন্য Maps SDK-এ সমস্যাগুলি আবিষ্কার করেন, তাহলে মোবাইল সমর্থন নীতি অনুসারে প্রধান সংস্করণের প্রাথমিক প্রকাশের 12 মাসের জন্য একটি পশ্চাদমুখী-সামঞ্জস্যপূর্ণ উপায়ে সমাধানগুলি প্রদান করা হবে৷ সংশোধনগুলি থেকে উপকৃত হওয়ার জন্য আপনাকে অবিলম্বে একটি বেমানান SDK সংস্করণে আপগ্রেড করার প্রয়োজন হবে না৷
আপনার অ্যাপটি ইতিমধ্যেই সর্বশেষ সংস্করণে নির্মিত হলে সর্বশেষ উন্নতি এবং বৈশিষ্ট্যগুলি গ্রহণ করা সহজ৷
SDK-এর নতুন প্রধান সংস্করণে বার্ষিক ক্রমবর্ধমান আপডেটগুলি একাধিক প্রধান সংস্করণ রিলিজ জুড়ে প্রবর্তিত পিছনের-অসঙ্গত পরিবর্তনগুলি পরিচালনা করার চেয়ে আপনার অ্যাপ্লিকেশনকে মানিয়ে নিতে, পুনর্লিখন এবং পরীক্ষা করার জন্য কম পরিশ্রমের প্রয়োজন হতে পারে।
অ-সমালোচনামূলক অ্যাপের জন্য , যেকোনো নির্দিষ্ট সংস্করণে লিঙ্ক করুন। আপনি যখন সেই স্থির সংস্করণের জন্য একটি অবমূল্যায়ন বিজ্ঞপ্তি পাবেন, তখন আপনার আপডেট করা অ্যাপ কোডটি আপনার ব্যবহারকারীদের জন্য উপলব্ধ করার জন্য আপনার কাছে 12 মাস সময় থাকবে।
সুবিধা:
কম ঘন ঘন রক্ষণাবেক্ষণ কাজ.
আপনার অ্যাপের নতুন সংস্করণগুলি পুরনো মোবাইল অপারেটিং সিস্টেমে চলমান ব্যবহারকারীদের ডিভাইসগুলিকে দীর্ঘ সময়ের জন্য সমর্থন করে (যতক্ষণ না আপনাকে একটি নতুন SDK সংস্করণে আপগ্রেড করতে হবে)।
নিরীক্ষণ করা ইমেল ঠিকানা সহ প্রকল্পের মালিকরা তাদের প্রতিটি প্রকল্পকে প্রভাবিত করে এমন পরিবর্তনগুলি সম্পর্কে সক্রিয় বিজ্ঞপ্তি পান। প্রধান আপডেট, অবচয়, এবং অন্যান্য পরিবর্তন সম্পর্কে অবগত থাকুন ।
ইনস্টলেশন
আপনার অ্যাপ-স্তরের build.gradle.kts বা build.gradle ফাইলে, সর্বদা একটি উপসর্গ পরিসরের পরিবর্তে একটি সংস্করণ নির্দিষ্ট করুন ( + ) বা latest কারণ এটি অপ্রত্যাশিত এবং অপূরণীয় বিল্ডের দিকে নিয়ে যেতে পারে। অ্যান্ড্রয়েডের জন্য মানচিত্র SDK শব্দার্থিক সংস্করণ মেনে চলে, এবং নতুন বড় সংস্করণ প্রকাশে ব্রেকিং পরিবর্তন অন্তর্ভুক্ত থাকতে পারে। সমর্থিত ন্যূনতম API স্তর হল 21 ।
Gradle সিনট্যাক্স ব্যবহার করে Google Play পরিষেবার মধ্যে মানচিত্রের নির্ভরতা নির্দিষ্ট করা।
dependencies{// Maps SDK for Androidimplementation("com.google.android.gms:play-services-maps:19.2.0")}
অ্যান্ড্রয়েড স্টুডিও স্বয়ংক্রিয়ভাবে নতুন উপলব্ধ সংস্করণগুলি পরীক্ষা করে এবং একটি নির্ভরতার একটি নতুন সংস্করণ উপলব্ধ হলে একটি সতর্কতা প্রদান করে৷ প্রযুক্তিগত ঋণ কমাতে, যত তাড়াতাড়ি সম্ভব নতুন উপলব্ধ সংস্করণে আপডেট করুন। আপনি যদি একটি নতুন প্রধান সংস্করণে আপডেট করছেন, তাহলে পিছনের-অসঙ্গত পরিবর্তনের জন্য রিলিজ নোটগুলি দেখুন এবং কীভাবে আপনার কোড আপডেট করবেন।
নতুন সংস্করণগুলির জন্য পোলিং ছাড়াও, Google ক্লাউড প্রকল্পের মালিকরা তাদের প্রকল্পগুলিকে প্রভাবিত করতে পারে এমন অসঙ্গতিপূর্ণ পরিবর্তনগুলি সম্পর্কে ইমেলগুলি পান৷ পিছনের দিকে বেমানান পরিবর্তন সম্পর্কে সক্রিয় বিজ্ঞপ্তি পেতে, আপনার প্রতিটি প্রকল্পের জন্য একটি নিরীক্ষণ করা ইমেল ঠিকানা সহ মালিকের ভূমিকা বরাদ্দ করুন ৷
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-08-15 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.0.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."]]