.NET 11 and CoreCLR Do Not Directly Boost Google Play DEX Optimization Scores
Google Play now surfaces a DEX code optimization metric in its Play Console, evaluating aspects like code shrinking and obfuscation, with a 25% minimum threshold for apps carrying at least 10 MB of uncompressed DEX code. .NET 11 introduces CoreCLR as the default runtime for .NET MAUI Android apps, along with ReadyToRun compilation and improved IL trimming, which can improve startup performance and reduce app size. However, these .NET runtime improvements operate on the managed code side of the stack, while Google's DEX optimization metric concerns the Android DEX pipeline processed by the R8 compiler. Upgrading a MAUI app to .NET 11 therefore does not automatically translate into a higher DEX optimization score in Play Console. Developers should treat .NET runtime tuning and Android DEX pipeline optimization as distinct concerns requiring separate attention.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in