1page.title=Maintaining Multiple APKs 2 3trainingnavtop=true 4startpage=true 5next.title=Creating Multiple APKs for Different API Levels 6next.link=api.html 7 8@jd:body 9 10 11<div id="tb-wrapper"> 12<div id="tb"> 13 14<!-- Required platform, tools, add-ons, devices, knowledge, etc. --> 15<h2>Dependencies and prerequisites</h2> 16 17<ul> 18 <li>Android 1.0 and higher</li> 19 <li>You must have an <a href="http://play.google.com/apps/publish">Google Play</a> publisher 20account</li> 21</ul> 22 23<!-- related docs (NOT javadocs) --> 24<h2>You should also read</h2> 25<ul> 26 <li><a href="http://developer.android.com/guide/google/play/publishing/multiple-apks.html">Multiple APK 27Support</a></li> 28</ul> 29 30</div> 31</div> 32 33<p>Multiple APK support is a feature of Google Play that allows you to publish multiple APKs 34under the same application listing. Each APK is a complete instance of your application, optimized 35to target specific device configurations. Each APK can target a specific set of GL 36textures, API levels, screen sizes, or some combination thereof.</p> 37 38<p>This class shows you how to write your multiple APK application using any one of these 39configuration variables. Each lesson covers basics about how to organize your codebase and target 40the right devices, as well as the smart way to avoid pitfalls such as unnecessary redundancy across 41your codebase, and making mistakes in your manifest that could render an APK invisible to all 42devices on Google Play. By going through any of these lessons, you'll know how to develop 43multiple APKs the smart way, make sure they're targeting the devices you want them to, 44and know how to catch mistakes <em>before</em> your app goes live.</p> 45 46 47 48<h2>Lessons</h2> 49 50<dl> 51 <dt><b><a href="api.html">Creating Multiple APKs for Different API Levels</a></b></dt> 52 <dd>Learn how to target different versions of the Android platform using multiple APKs. Also 53learn how to organize your codebase, what to do with your manifest, and how to investigate your APK 54configuration using the <code>aapt</code> tool before pushing live.</dd> 55 56 <dt><b><a href="screensize.html">Creating Multiple APKs for Different Screen Sizes</a></b></dt> 57 <dd>Learn how to target Android devices by screen size using multiple APKs. Also learn how to 58organize your codebase, what to do with your manifest, and how to investigate your APK configuration 59using the <code>aapt</code> tool before pushing live.</dd> 60 61 <dt><b><a href="texture.html">Creating Multiple APKs for Different GL Textures</a></b></dt> 62 <dd>Learn how to target Android devices based on their support for GL texture. Also learn 63how to organize your codebase, what to do with your manifest, and how to investigate your APK 64configuration using the <code>aapt</code> tool before pushing live.</dd> 65 66 <dt><b><a href="multiple.html">Creating Multiple APKs with 2+ Dimensions</a></b></dt> 67 <dd>Learn how to target different Android devices based on more than one configuration 68variable (screen size, API version, GL texture). Examples in the lesson target using a combination 69of API level and screen size. Also learn how to organize your codebase, what to do with your 70manifest, and how to investigate your APK configuration using the <code>aapt</code> tool before 71pushing live.</dd> 72</dl> 73