summaryrefslogtreecommitdiffstats
path: root/docs/html
diff options
context:
space:
mode:
authorRicardo Cervera <rcervera@google.com>2014-07-07 10:24:47 -0700
committerRicardo Cervera <rcervera@google.com>2014-07-07 10:24:47 -0700
commite5e68d3a5e029f8a86a038f8c672146f5ed8a34f (patch)
tree5d92efd796f09ec6461cc72a25e13c727890df4e /docs/html
parentaf16552983d3d3015b85b73507d5a060d76a67cd (diff)
downloadframeworks_base-e5e68d3a5e029f8a86a038f8c672146f5ed8a34f.zip
frameworks_base-e5e68d3a5e029f8a86a038f8c672146f5ed8a34f.tar.gz
frameworks_base-e5e68d3a5e029f8a86a038f8c672146f5ed8a34f.tar.bz2
docs: Minor fix in the Building Your Project with Gradle guide
Change-Id: Ibcb27f4f7cade4a69babd08d7273440a4554e79f
Diffstat (limited to 'docs/html')
-rw-r--r--docs/html/sdk/installing/studio-build.jd9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/html/sdk/installing/studio-build.jd b/docs/html/sdk/installing/studio-build.jd
index 2a616a0..29ba12d 100644
--- a/docs/html/sdk/installing/studio-build.jd
+++ b/docs/html/sdk/installing/studio-build.jd
@@ -882,11 +882,11 @@ android {
buildTypes { ... }
productFlavors {
demo {
- packageName "com.buildsystemexample.app.demo"
+ applicationId "com.buildsystemexample.app.demo"
versionName "1.0-demo"
}
full {
- packageName "com.buildsystemexample.app.full"
+ applicationId "com.buildsystemexample.app.full"
versionName "1.0-full"
}
}
@@ -896,8 +896,9 @@ android {
<p>The product flavor definitions support the same properties as the <code>defaultConfig</code>
element. The base configuration for all flavors is specified in <code>defaultConfig</code>, and each
-flavor can override any value. The build file above assigns a different package name to each flavor:
-since each flavor definition creates a different app, they each need a distinct package name.</p>
+flavor can override any value. The build file above uses the <code>applicationId</code> property
+to assign a different package name to each flavor: since each flavor definition creates a
+different app, they each need a distinct package name.</p>
<p class="note"><strong>Note:</strong> To distribute your app using
<a href="{@docRoot}google/play/publishing/multiple-apks.html">Multiple APK Support</a> in