-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: release build issue with agp > 8.4.0
Starting with agp 8.4.0 setting isMinifyEnabled for libraries will minify the lib much sooner in the build process, as opposed to doing it at the end of the build process. This will cause the app module to use a minified version of the library which will throw missing classes error during compiling for release build. https://stackoverflow.com/a/79148742/25688500
- Loading branch information
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ android { | |
buildTypes { | ||
release { | ||
isShrinkResources = true | ||
isMinifyEnabled = true | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters