Status Update
Comments
eb...@netflix.com <eb...@netflix.com> #2
I've submitted a fix for this, which should (I hope) make it into Jellyfish Canary 12. There's a relatively straightforward workaround, which is to explicitly declare the version of the com.android.tools.build:gradle
artifact in all build files -- in the screenshot, your project has a versioned classpath
dependency, but also an unversioned one, and it's that unversioned one that tripped up the AGP Upgrade Assistant. Since there is that workaround of making sure that all the classpath dependencies on com.android.tools.build:gradle
have an explicit version, we probably won't patch this for Iguana, I'm afraid.
Thanks very much for the report!
sg...@google.com <sg...@google.com>
je...@google.com <je...@google.com>
bi...@google.com <bi...@google.com> #3
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 Jellyfish | 2023.3.1 Canary 12
- Android Gradle Plugin 8.4.0-alpha12
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!
eb...@netflix.com <eb...@netflix.com> #4
bi...@google.com <bi...@google.com> #5
eb...@netflix.com <eb...@netflix.com> #6
same problem in latest koala, AGP upgrade assistant never opens
Please could you open a new issue, and upload enough details about your project to be able to investigate or (ideally) reproduce the problem? Thank you!
eb...@netflix.com <eb...@netflix.com> #7
Our app can be built on debug and release
I mean doing :MainApp:assembleDebug
or :MainApp:assembleRelease
is successful.
bi...@google.com <bi...@google.com>
xa...@google.com <xa...@google.com> #8
This is blocking netflix. moving to P1.
bi...@google.com <bi...@google.com> #9
I can reproduce it by
-
have a project with dynamic features
-
enable minify for debug
-
run android test for debug variant
The direct cause is l8 task of the android test component is expecting dex from the feature module. However, we only publish stuff from feature module to base module.
eb...@netflix.com <eb...@netflix.com> #10
Hello, glad you were able to reproduce it. Since it has been few dyas can I ask if this is something that will be fixed in an AGP 8.1.3 update?
bi...@google.com <bi...@google.com> #11
Yes, the fix will be in 8.1.3
xa...@google.com <xa...@google.com>
an...@google.com <an...@google.com> #12
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 Giraffe | 2022.3.1 Patch 3
- Android Gradle Plugin 8.1.3
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!
eb...@netflix.com <eb...@netflix.com> #13
Thanks, issue fixed!
Description
After updating our project from AGP 8.0.2 to AGP 8.1.2 we're getting the following error while building a test app :
The crashed code seems to point to dynamic feature code path, we have dynamic features. Side note, we're using DexGuard 9.4.17.
Using Java 17 / Gradle 8.1.1 / AGP 8.1.2