সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ড্রাইভ অ্যান্ড্রয়েড এপিআই 6 ডিসেম্বর, 2018 থেকে অবচয়িত হয়েছে এবং 1 ফেব্রুয়ারি, 2023-এ সম্পূর্ণরূপে প্রত্যাখ্যান করা হবে ৷
টাইমলাইন
তারিখ
ড্রাইভ অ্যান্ড্রয়েড এপিআই অবস্থা
ডিসেম্বর 6, 2018
অবচয় প্রকাশ্যে ঘোষণা করা হয়। বিদ্যমান ক্লায়েন্টরা সাধারণত API অ্যাক্সেস করতে সক্ষম হবে, কিন্তু অবিলম্বে মাইগ্রেশন প্রচেষ্টার সাথে শুরু করা উচিত। নতুন ক্লায়েন্টদের API ব্যবহার করা উচিত নয়।
21 অক্টোবর, 2019
ড্রাইভ Android API Google Play পরিষেবা SDK বিতরণ থেকে সরানো হয়েছে৷ ড্রাইভ অ্যান্ড্রয়েড এপিআই নির্ভরতা অপসারণ না করা পর্যন্ত অ্যাপগুলি তৈরি করতে অক্ষম হবে, তবে বিদ্যমান বিল্ডগুলি প্রভাবিত হবে না। ড্রাইভ অ্যান্ড্রয়েড এপিআই পাবলিক ডকুমেন্টেশন আর উপলব্ধ হবে না।
3 মার্চ, 2022
ড্রাইভ অ্যান্ড্রয়েড এপিআই বাতিল করা হয়েছে এবং সমস্ত API কল অ-কার্যকর। গ্রাহকদের এই তারিখের মধ্যে স্থানান্তর করতে হবে।
ফেব্রুয়ারি 1, 2023
ড্রাইভ অ্যান্ড্রয়েড API সম্পূর্ণরূপে বন্ধ করা হবে এবং সমস্ত সংযোগ প্রচেষ্টা ব্যর্থ হবে৷
ড্রাইভ REST API ব্যবহার করুন
ড্রাইভ REST API ড্রাইভ অ্যান্ড্রয়েড API-এর মতো একই কার্যকারিতা অফার করে, এর উপায়গুলি সহ:
ক্লায়েন্ট মাইগ্রেশন প্রচেষ্টা সহজ করার জন্য, একটি নমুনা অ্যাপ প্রদান করা হয়েছে যা উপরের প্রতিটি প্রস্তাবিত প্রতিস্থাপন প্রদর্শন করে। এটি REST API ব্যবহার করে ব্যবহারকারীর ড্রাইভ ফাইলগুলির জন্য কীভাবে তৈরি, সংশোধন এবং অনুসন্ধান করতে হয় তাও দেখায়৷ আপনার যদি কোনো সমস্যা থাকে, StackOverflow-এ google-drive-api ট্যাগটি দেখুন।
মাইগ্রেশন
যেহেতু ড্রাইভ অ্যান্ড্রয়েড এপিআই বাতিল করা হয়েছে, এবং সমস্ত API কল অ-কার্যকর, তাই নিশ্চিত করুন যে আপনার অ্যাপটি আর API-কে কল করছে না। এটি করার জন্য, API-কে আরম্ভ করে এমন কোডটি সরান: addApi(Drive.API) ।
আপনি যদি ড্রাইভ অ্যান্ড্রয়েড এপিআই থেকে মাইগ্রেট না করেন এবং আপনার অ্যাপ এপিআই কল করার চেষ্টা করে, তাহলে নিম্নলিখিত ত্রুটি বার্তাটি ফিরে আসবে:
com.google.android.gms.common.api.ApiException: 17: API: Drive.API is not available on this device. Connection failed with: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}
[[["সহজে বোঝা যায়","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-04 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Migrate from the Google Drive Android API\n\n**The Drive Android API is deprecated as of December 6, 2018 and will be fully\nturned down on February 1, 2023**.\n\nTimeline\n--------\n\n| Date | Drive Android API status |\n|------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| December 6, 2018 | Deprecation is [publicly announced](https://cloud.google.com/blog/products/application-development/sync-google-drive-files-to-apps-using-the-drive-rest-api-bidding-farewell-to-the-drive-android-api). Existing clients will be able to access the API normally, but should immediately commence with migration efforts. New clients must not use the API. |\n| October 21, 2019 | The Drive Android API is removed from the Google Play Services SDK distribution. Apps will be unable to build until removing the Drive Android API dependency, but existing builds will be unaffected. The Drive Android API public documentation will no longer be available. |\n| March 3, 2022 | The Drive Android API is deprecated and all API calls are non-operational. Clients must migrate by this date. |\n| February 1, 2023 | The Drive Android API will be fully turned down and all connection attempts will be unsuccessful. |\n\nUse the Drive REST API\n----------------------\n\nThe Drive REST API offers the same functionality as the Drive Android API,\nincluding ways to:\n\n- Share and collaborate as you expect from Drive. You can [manage permissions or prompt the Share dialog](/workspace/drive/api/guides/manage-sharing) to users as needed. The REST API also allows for commenting on files, allowing your app to interact with the conversation around a file.\n- Search for files using [`files.list`](/workspace/drive/api/v3/reference/files/list), based on traditional indexing or [your own customized, indexable text](/workspace/drive/api/guides/file).\n- Detect changes to files through the [Changes collection](/workspace/drive/api/v3/reference/changes) and to any shared with the user through [shared drives](/workspace/drive/api/guides/enable-shareddrives).\n- Export and convert Google Docs so that your app can easily [open a user's document](/workspace/drive/api/guides/integrate-open#specific).\n\nTo ease client migration efforts, a\n[sample app](https://github.com/googleworkspace/android-samples/tree/master/drive/deprecation) is provided which\ndemonstrates each of the proposed replacements above. It also shows how to\ncreate, modify, and query for a user's Drive files using the REST API. If you\nhave any issues, check out the\n[google-drive-api](https://stackoverflow.com/questions/tagged/google-drive-api?tab=Newest)\ntag on StackOverflow.\n\nMigration\n---------\n\nSince the Drive Android API is deprecated, and all API calls are\nnon-operational, make sure your app is no longer calling the API. To do this,\nremove the code that initializes the API: `addApi(Drive.API)`.\n\nIf you don't migrate from the Drive Android API, and your app attempts to call\nthe API, the following error message is returned:\n\n`com.google.android.gms.common.api.ApiException: 17: API: Drive.API is not\navailable on this device. Connection failed with:\nConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}`"]]