Skip to content

Commit eb5ec4b

Browse files
authored
Update app-sdk-android.md
Adding a note about issues why is required to disable android.enableResourceOptimizations when using gradle plugin greater than 4.2.
1 parent c2e6795 commit eb5ec4b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

memdocs/intune/developer/app-sdk-android.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,10 @@ integration points relevant to your app.
155155
156156
### Gradle Build Plugin
157157
If your app does not build with gradle, skip to [Integrating with the
158-
Command Line Tool](#command-line-build-tool).
158+
Command Line Tool](#command-line-build-tool).
159+
160+
> [!NOTE]
161+
> Android Gradle Plugin 4.2 introduced a number of resources optimizations in order to reduce the size of the APK package. One of these optimizations is the obfuscation/shortening of filenames. For now, the workaround is to add android.enableResourceOptimizations=false in the app's gradle.properties. This will prevent the optimization from happening thus allowing the detection of the Intune SDK when uploading the app into the Portal.
159162
160163
The App SDK plugin is distributed as part of the SDK as
161164
**GradlePlugin/com.microsoft.intune.mam.build.jar**. For Gradle to be

0 commit comments

Comments
 (0)