অ্যান্ড্রয়েড অ্যাপ বান্ডেল সম্পর্কে
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি অ্যান্ড্রয়েড অ্যাপ বান্ডেল হল একটি প্রকাশনার ফর্ম্যাট যাতে আপনার অ্যাপের সমস্ত সংকলিত কোড এবং সংস্থান অন্তর্ভুক্ত থাকে এবং APK তৈরি করা এবং Google Play-তে সাইন করাকে পিছিয়ে দেয়।
প্রতিটি ডিভাইস কনফিগারেশনের জন্য অপ্টিমাইজ করা APK তৈরি করতে এবং পরিবেশন করতে Google Play আপনার অ্যাপ বান্ডিল ব্যবহার করে, তাই আপনার অ্যাপ চালানোর জন্য শুধুমাত্র একটি নির্দিষ্ট ডিভাইসের জন্য প্রয়োজনীয় কোড এবং সংস্থানগুলি ডাউনলোড করা হয়। বিভিন্ন ডিভাইসের জন্য সমর্থন অপ্টিমাইজ করার জন্য আপনাকে আর একাধিক APK তৈরি, সাইন ইন এবং পরিচালনা করতে হবে না এবং ব্যবহারকারীরা ছোট, আরও-অপ্টিমাইজ করা ডাউনলোডগুলি পান৷
অপ্টিমাইজ করা APK পরিবেশন সমর্থন করে এমন অ্যাপ বান্ডিল তৈরি করতে বেশিরভাগ অ্যাপ প্রকল্পের খুব বেশি প্রচেষ্টার প্রয়োজন হবে না। আপনি যদি ইতিমধ্যেই আপনার অ্যাপের কোড এবং সংস্থানগুলি প্রতিষ্ঠিত নিয়ম অনুসারে সংগঠিত করেন , Android স্টুডিও ব্যবহার করে বা কমান্ড লাইন ব্যবহার করে স্বাক্ষরিত Android অ্যাপ বান্ডেল তৈরি করেন এবং সেগুলিকে Google Play-তে আপলোড করেন , তাহলে অপ্টিমাইজ করা APK পরিবেশন একটি স্বয়ংক্রিয় সুবিধা হয়ে যায়৷
আপনি যখন আপনার অ্যাপ প্রকাশ করতে অ্যাপ বান্ডেল ফর্ম্যাট ব্যবহার করেন, তখন আপনি ঐচ্ছিকভাবে প্লে ফিচার ডেলিভারির সুবিধা নিতে পারেন, যা আপনাকে আপনার অ্যাপ প্রোজেক্টে ফিচার মডিউল যোগ করতে দেয়। এই মডিউলগুলিতে এমন বৈশিষ্ট্য এবং সংস্থান রয়েছে যা শুধুমাত্র আপনার নির্দিষ্ট করা শর্তের উপর ভিত্তি করে আপনার অ্যাপের সাথে অন্তর্ভুক্ত করা হয়, অথবা প্লে কোর লাইব্রেরি ব্যবহার করে ডাউনলোডের জন্য রানটাইমে পরে উপলব্ধ।
গেম ডেভেলপাররা যারা অ্যাপ বান্ডেলের সাথে তাদের অ্যাপ প্রকাশ করে তারা Play অ্যাসেট ডেলিভারি ব্যবহার করতে পারে: প্রচুর পরিমাণে গেম অ্যাসেট ডেলিভার করার জন্য Google Play-এর সমাধান যা ডেভেলপারদের নমনীয় ডেলিভারি পদ্ধতি এবং উচ্চ কার্যক্ষমতা প্রদান করে।
অ্যান্ড্রয়েড অ্যাপ বান্ডেল ব্যবহার করে কেন আপনার অ্যাপ প্রকাশ করা উচিত তার একটি সংক্ষিপ্ত বিবরণের জন্য নিম্নলিখিত ভিডিওটি দেখুন।
সংকুচিত ডাউনলোড আকার সীমাবদ্ধতা
অ্যান্ড্রয়েড অ্যাপ বান্ডেলের সাহায্যে প্রকাশ করা আপনার ব্যবহারকারীদের সম্ভাব্য সবচেয়ে ছোট ডাউনলোডের মাধ্যমে আপনার অ্যাপ ইনস্টল করতে সাহায্য করে এবং সংকুচিত ডাউনলোডের আকার বাড়ায়। অর্থাৎ, যখন একজন ব্যবহারকারী আপনার অ্যাপ ডাউনলোড করেন, তখন আপনার অ্যাপ ইনস্টল করার জন্য প্রয়োজনীয় সংকুচিত APKগুলির মোট আকার (উদাহরণস্বরূপ, বেস APK + কনফিগারেশন APKগুলি) অবশ্যই 4 GB-এর বেশি হবে না। যেকোনো পরবর্তী ডাউনলোড, যেমন চাহিদা অনুযায়ী একটি ফিচার মডিউল (এবং এর কনফিগারেশন APKs) ডাউনলোড করাকেও এই সংকুচিত ডাউনলোড আকারের সীমাবদ্ধতা পূরণ করতে হবে। সম্পদ প্যাকগুলি এই আকারের সীমাতে অবদান রাখে না, তবে তাদের অন্যান্য আকারের সীমাবদ্ধতা রয়েছে৷
যদি Play Console আপনার অ্যাপের সম্ভাব্য ডাউনলোডগুলির মধ্যে কোনোটি খুঁজে পায় বা এর চাহিদার বৈশিষ্ট্যগুলি সর্বাধিক আকারের সীমার চেয়ে বেশি, তাহলে আপনি একটি ত্রুটি পাবেন৷
মনে রাখবেন, Android অ্যাপ বান্ডেলগুলি APK সম্প্রসারণ ( *.obb
) ফাইলগুলিকে সমর্থন করে না । সুতরাং, আপনার অ্যাপ বান্ডেল প্রকাশ করার সময় আপনি যদি এই ত্রুটির সম্মুখীন হন, তাহলে সংকুচিত APK ডাউনলোডের আকার কমাতে নিম্নলিখিত সংস্থানগুলির মধ্যে একটি ব্যবহার করুন:
- প্রতিটি ধরনের কনফিগারেশন APK এর জন্য
enableSplit = true
সেট করে আপনি সমস্ত কনফিগারেশন APK সক্ষম করেছেন তা নিশ্চিত করুন। এটি নিশ্চিত করে যে ব্যবহারকারীরা তাদের ডিভাইসে আপনার অ্যাপ চালানোর জন্য প্রয়োজনীয় কোড এবং সংস্থানগুলিই ডাউনলোড করে। - অব্যবহৃত কোড এবং সংস্থানগুলি সরিয়ে আপনার অ্যাপটি সঙ্কুচিত করা নিশ্চিত করুন৷
- অ্যাপের আকার আরও কমাতে সর্বোত্তম অনুশীলনগুলি অনুসরণ করুন৷
- আপনার কিছু ব্যবহারকারীর দ্বারা ব্যবহৃত বৈশিষ্ট্যগুলিকে ফিচার মডিউলে রূপান্তর করার কথা বিবেচনা করুন যা আপনার অ্যাপ চাহিদা অনুযায়ী পরে ডাউনলোড করতে পারে। মনে রাখবেন, এর জন্য আপনার অ্যাপের কিছু রিফ্যাক্টরিং প্রয়োজন হতে পারে, তাই প্রথমে বর্ণিত অন্যান্য পরামর্শগুলি চেষ্টা করে দেখুন।
অন্যান্য বিবেচ্য বিষয়
Android অ্যাপ বান্ডেলের মাধ্যমে আপনার অ্যাপ তৈরি বা পরিবেশন করার সময় নিম্নলিখিত সমস্যাগুলি পরিচিত। আপনি যদি এমন সমস্যার সম্মুখীন হন যা ইতিমধ্যে এখানে বর্ণনা করা হয়নি, একটি বাগ রিপোর্ট করুন ।
- সাইডলোড করা অ্যাপগুলির আংশিক ইনস্টল—অর্থাৎ, যে অ্যাপগুলি Google Play Store ব্যবহার করে ইনস্টল করা হয়নি এবং এক বা একাধিক প্রয়োজনীয় স্প্লিট APK অনুপস্থিত—সব Google-প্রত্যয়িত ডিভাইস এবং Android 10 (API লেভেল 29) বা উচ্চতর চলমান ডিভাইসগুলিতে ব্যর্থ হয়। Google Play Store এর মাধ্যমে আপনার অ্যাপ ডাউনলোড করার সময়, Google নিশ্চিত করে যে অ্যাপটির প্রয়োজনীয় সমস্ত উপাদান ইনস্টল করা আছে।
আপনি যদি এমন সরঞ্জামগুলি ব্যবহার করেন যা গতিশীলভাবে রিসোর্স সারণীগুলিকে সংশোধন করে, অ্যাপ বান্ডেল থেকে জেনারেট করা APKগুলি অপ্রত্যাশিতভাবে আচরণ করতে পারে। সুতরাং, একটি অ্যাপ বান্ডিল তৈরি করার সময়, এই ধরনের সরঞ্জামগুলিকে অক্ষম করার পরামর্শ দেওয়া হয়।
বৈশিষ্ট্য মডিউলের বিল্ড কনফিগারেশনে বৈশিষ্ট্যগুলি কনফিগার করা সম্ভব যা বেস (বা অন্যান্য) মডিউলগুলির সাথে বিরোধপূর্ণ। উদাহরণস্বরূপ, আপনি বেস মডিউলে buildTypes.release.debuggable = true
সেট করতে পারেন এবং একটি বৈশিষ্ট্য মডিউলে এটি false
সেট করতে পারেন। এই ধরনের দ্বন্দ্ব বিল্ড এবং রানটাইম সমস্যার কারণ হতে পারে। মনে রাখবেন, ডিফল্টরূপে, বৈশিষ্ট্য মডিউলগুলি বেস মডিউল থেকে কিছু বিল্ড কনফিগারেশনের উত্তরাধিকারী হয়। সুতরাং, আপনার বৈশিষ্ট্য মডিউল বিল্ড কনফিগারেশনে আপনার কোন কনফিগারেশনগুলি রাখা উচিত এবং কোনটি বাদ দেওয়া উচিত তা আপনি বুঝতে পেরেছেন তা নিশ্চিত করুন৷
অতিরিক্ত সম্পদ
অ্যান্ড্রয়েড অ্যাপ বান্ডেল সম্পর্কে আরও জানতে, নিম্নলিখিত সংস্থানগুলি দেখুন৷
ব্লগ এর লেখাগুলো
ভিডিও
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","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-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# About Android App Bundles\n\n| **Important:** From August 2021, new apps are required to publish with the [Android App Bundle](/guide/app-bundle) on Google Play. New apps larger than 200 MB are now supported by either [Play Feature Delivery](/guide/app-bundle/dynamic-delivery) or [Play Asset Delivery](/guide/app-bundle/asset-delivery). From June 2023, new and existing [TV apps are required to\n| be published as App Bundles](/docs/quality-guidelines/tv-app-quality#SC-E1).\n\nAn *Android App Bundle* is a publishing format that includes all your app's\ncompiled code and resources, and defers APK generation and signing to Google\nPlay.\n\nGoogle Play uses your app bundle to generate and serve optimized APKs for each\ndevice configuration, so only the code and resources that are needed for a\nspecific device are downloaded to run your app. You no longer have to build,\nsign, and manage multiple APKs to optimize support for different devices, and\nusers get smaller, more-optimized downloads.\n\nMost app projects won't require much effort to build app bundles that support\nserving optimized APKs. If you already [organize your app's code and\nresources](/guide/topics/resources/providing-resources#AlternativeResources)\naccording to established conventions, [build signed Android App\nBundles](/studio/publish/app-signing#sign-apk) using Android Studio or by [using\nthe command line](/studio/build/building-cmdline), and [upload them to Google\nPlay](/studio/publish/upload-bundle), then optimized APK serving becomes an\nautomatic benefit.\n\nWhen you use the app bundle format to publish your app, you can also optionally\ntake advantage of [Play Feature Delivery](/guide/playcore/feature-delivery),\nwhich lets you add *feature modules* to your app project.\nThese modules contain features and resources that are only included with your\napp based on conditions that you specify, or are available later at runtime for\ndownload [Using the Play Core Library](/guide/playcore).\n\nGame developers who publish their apps with app bundles can use\n[Play Asset Delivery](/guide/playcore/asset-delivery): Google Play's solution\nfor delivering large amounts of game assets that offers developers flexible\ndelivery methods and high performance.\n\nWatch the following video for an overview of why you should publish your app\nusing Android App Bundles. \n\nCompressed download size restriction\n------------------------------------\n\nPublishing with Android App Bundles helps your users to install your app with\nthe smallest downloads possible and increases the **compressed download size** .\nThat is, when a user downloads your app, the total size of\nthe compressed APKs required to install your app (for example, the base APK +\nconfiguration APKs) must be no more than 4 GB. Any subsequent downloads,\nsuch as downloading a feature module (and its configuration APKs) on demand,\nmust also meet this compressed download size restriction. Asset packs don't\ncontribute to this size limit, but they do have other [size restrictions](/guide/app-bundle/asset-delivery#size-limits).\n\nIf the Play Console finds any of the possible downloads of your app or its on\ndemand features to be more than the [maximum size limits](https://support.google.com/googleplay/android-developer/answer/9859372#size_limits), you will get an error.\n\nKeep in mind, **Android App Bundles do not support APK expansion (`*.obb`)\nfiles**. So, if you encounter this error when publishing your app bundle, use\none of the following resources to reduce compressed APK download sizes:\n\n- Make sure you [enable all configuration APKs](/studio/projects/dynamic-delivery#disable_config_apks) by setting `enableSplit = true` for each type of configuration APK. This makes sure that users download only the code and resources they need to run your app on their device.\n- Make sure you [shrink your app](/studio/build/shrink-code) by removing unused code and resources.\n- Follow best practices to further [reduce app size](/topic/performance/reduce-apk-size).\n- Consider converting features that are used by only some of your users into [feature modules](/studio/projects/dynamic-delivery#dynamic_feature_modules) that your app can download later, on demand. Keep in mind, this may require some refactoring of your app, so make sure to first try the other suggestions described.\n\nOther considerations\n--------------------\n\nThe following are known issues when building or serving your app\nwith Android App Bundles. If you experience issues that are\nnot already described here, [report a bug](https://issuetracker.google.com/issues/new?component=398856&template=1084213).\n\n- Partial installs of sideloaded apps---that is, apps that are not installed using the Google Play Store and are missing one or more required split APKs---fail on all Google-certified devices and devices running Android 10 (API level 29) or higher. When downloading your app through the Google Play Store, Google ensures that all required components of the app are installed.\n- If you use tools that dynamically modify resource tables, APKs generated\n from app bundles might behave unexpectedly. So, when building an app bundle,\n it is recommended that you disable such tools.\n\n- It is possible to configure properties in a feature\n module's build configuration that conflict with those from the base (or\n other) modules. For example, you can set `buildTypes.release.debuggable =\n true` in the base module and set it to `false` in a feature module.\n Such conflicts might cause build and runtime issues. Keep in mind, by default,\n feature modules inherit some build configurations from the base\n module. So, make sure you understand which configurations you should keep,\n and which ones you should omit, in your [feature module build\n configuration](/guide/app-bundle/configure#feature_build_config).\n\nAdditional resources\n--------------------\n\nTo learn more about Android App Bundles, consult the following resources.\n\n### Blog posts\n\n- [Building your first App Bundle](https://medium.com/androiddevelopers/building-your-first-app-bundle-bbcd228bf631)\n- [What a new publishing format means for the future of Android](https://medium.com/googleplaydev/what-a-new-publishing-format-means-for-the-future-of-android-2e34981793a)\n- [New features to help you develop, release, and grow your business on Google Play](https://android-developers.googleblog.com/2019/05/whats-new-in-play.html)\n- [The latest Android App Bundle updates including the additional languages API](https://android-developers.googleblog.com/2019/03/the-latest-android-app-bundle-updates.html)\n- [Patchwork Plaid --- A modularization story](https://medium.com/androiddevelopers/a-patchwork-plaid-monolith-to-modularized-app-60235d9f212e)\n- [Google Santa Tracker --- Moving to an Android App Bundle](https://medium.com/androiddevelopers/google-santa-tracker-moving-to-an-android-app-bundle-dde180716096)\n- [Developer tools on Play Console](https://medium.com/androiddevelopers/developer-tools-on-play-store-85fb710ee33b)\n\n### Videos\n\n- [Everything to know about Play App Signing](https://www.youtube.com/watch?v=odv_1fxt9BI)\n- [Building your first App Bundle](https://www.youtube.com/watch?v=IPLhLu0kvYw)\n- [App Bundles: Testing with Bundletool and the Play Console](https://www.youtube.com/watch?v=vAEAZPU7w-I)\n- [Customizable Delivery with the App Bundle and Easy Sharing of Test Builds](https://www.youtube.com/watch?v=flhib2krW7U)\n- [New Tools to Optimize Your App's Size and Boost Installs on Google Play](https://www.youtube.com/watch?v=rEuwVWpYBOY)"]]