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