Status Update
Comments
xa...@google.com <xa...@google.com>
hm...@google.com <hm...@google.com>
hm...@google.com <hm...@google.com> #4
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Koala | 2024.1.1 Canary 8
- Android Gradle Plugin 8.5.0-alpha08
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
an...@google.com <an...@google.com> #6
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Ladybug | 2024.2.1 Canary 4
- Android Gradle Plugin 8.7.0-alpha04
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
an...@google.com <an...@google.com> #7
The fixes for this issue are now also available in:
- Android Studio Koala Feature Drop | 2024.1.2 RC 1
- Android Gradle Plugin 8.6.0-rc01
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
an...@google.com <an...@google.com> #8
The fixes for this issue are now also available in:
- Android Studio Koala | 2024.1.1 Patch 2
- Android Gradle Plugin 8.5.2
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Description
After upgrading to AGP 8.5, we're seeing many more
mergeDebugResource
tasks being run. It's having a large negative impact on our build times -- we're now downloading ~9GB of artifacts from our Gradle remote build cache, whereas before it was 1GB, and most of that increase is frommergeDebugResources
.This is reproduced by running
./gradlew compileDebugSources
.I believe this is caused by this commit:https://cs.android.com/android-studio/platform/tools/base/+/03860fa78241c5d41556868241e2abd74bce42f0
It appears that
mergeDebugResources
is always run now, regardless of yourunitTestOptions.includeAndroidResources
setting.Studio Build: N/A Version of Gradle Plugin: 8.5.1 Version of Gradle: 8.7 Version of Java: 17.0.5 OS: N/A