Skip to content

Conversation

@terencehonles
Copy link

@terencehonles terencehonles commented Jan 20, 2026

This change replaces the default proguard file proguard-android.txt with proguard-android-optimize.txt which allows proguard optimizations.

Alternatively, AGP 9 compatibility can be achieved by opting out of the change with android.r8.globalOptionsInConsumerRules.disallowed=false

fixes: #8314

This change replaces the default proguard file `proguard-android.txt`
with `proguard-android-optimize.txt` which allows proguard
optimizations.
@theproducer
Copy link
Contributor

Thanks! This should fix #8314

@terencehonles
Copy link
Author

@theproducer I also opened ionic-team/capacitor-plugins#2468 for the plugins in that repo if you have the ability to kick off the CI.

@theproducer theproducer self-assigned this Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: New projects fail to build with Android Studio 2025.2.3

2 participants