From 9a0d3eae49f9f3bc6c328290520dc419b13be18a Mon Sep 17 00:00:00 2001 From: Tirth Date: Thu, 8 Aug 2024 00:38:13 +0530 Subject: [PATCH 1/4] Update android.md --- src/content/deployment/android.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/content/deployment/android.md b/src/content/deployment/android.md index f5a355d7a8a..898b4b65328 100644 --- a/src/content/deployment/android.md +++ b/src/content/deployment/android.md @@ -251,6 +251,10 @@ Obfuscation and minification can considerably extend compile time of the Android application. ::: +:::note +--[no-]shrink flag has no effect. Code shrinking is always enabled in release builds. To learn more, see: https://developer.android.com/studio/build/shrink-code +::: + ## Enable multidex support When writing large apps or making use of large plugins, From 5c31081ac3e47390ebf540dfba8c64257b64f09b Mon Sep 17 00:00:00 2001 From: Tirth Date: Thu, 8 Aug 2024 00:40:38 +0530 Subject: [PATCH 2/4] Update android.md --- src/content/deployment/android.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/content/deployment/android.md b/src/content/deployment/android.md index 898b4b65328..a1de41e9a95 100644 --- a/src/content/deployment/android.md +++ b/src/content/deployment/android.md @@ -249,10 +249,8 @@ To disable R8, pass the `--no-shrink` flag to :::note Obfuscation and minification can considerably extend compile time of the Android application. -::: -:::note ---[no-]shrink flag has no effect. Code shrinking is always enabled in release builds. To learn more, see: https://developer.android.com/studio/build/shrink-code +`--[no-]shrink flag` has no effect. Code shrinking is always enabled in release builds. To learn more, see: [Shrink, obfuscate, and optimize your app](https://developer.android.com/studio/build/shrink-code) ::: ## Enable multidex support From 6bc35e5deda03a293743c5e0dada5de9285ee78e Mon Sep 17 00:00:00 2001 From: Tirth Date: Thu, 8 Aug 2024 00:43:32 +0530 Subject: [PATCH 3/4] Update android.md --- src/content/deployment/android.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/deployment/android.md b/src/content/deployment/android.md index a1de41e9a95..2fabb674857 100644 --- a/src/content/deployment/android.md +++ b/src/content/deployment/android.md @@ -250,7 +250,7 @@ To disable R8, pass the `--no-shrink` flag to Obfuscation and minification can considerably extend compile time of the Android application. -`--[no-]shrink flag` has no effect. Code shrinking is always enabled in release builds. To learn more, see: [Shrink, obfuscate, and optimize your app](https://developer.android.com/studio/build/shrink-code) +`--[no-]shrink` flag has no effect. Code shrinking is always enabled in release builds. To learn more, see: [Shrink, obfuscate, and optimize your app](https://developer.android.com/studio/build/shrink-code) ::: ## Enable multidex support From 2557808012b1ff13e62352b9dcea95a44ac39ea6 Mon Sep 17 00:00:00 2001 From: "Shams Zakhour (ignore Sfshaza)" <44418985+sfshaza2@users.noreply.github.com> Date: Mon, 19 Aug 2024 11:47:59 -0700 Subject: [PATCH 4/4] Update src/content/deployment/android.md --- src/content/deployment/android.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/content/deployment/android.md b/src/content/deployment/android.md index 2fabb674857..37e09f2a1b7 100644 --- a/src/content/deployment/android.md +++ b/src/content/deployment/android.md @@ -250,7 +250,9 @@ To disable R8, pass the `--no-shrink` flag to Obfuscation and minification can considerably extend compile time of the Android application. -`--[no-]shrink` flag has no effect. Code shrinking is always enabled in release builds. To learn more, see: [Shrink, obfuscate, and optimize your app](https://developer.android.com/studio/build/shrink-code) +The `--[no-]shrink` flag has no effect. Code shrinking is always enabled in release builds. +To learn more, check out +[Shrink, obfuscate, and optimize your app]({{site.android-dev}}/studio/build/shrink-code). ::: ## Enable multidex support