Status Update
Comments
sp...@google.com <sp...@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!
sp...@google.com <sp...@google.com> #6
Ah, I didn't notice the repro project attached. I'll take a look.
sp...@google.com <sp...@google.com> #7
sp...@google.com <sp...@google.com> #9
The fix has been cherry-picked to the AGP 8.5 and AGP 8.6 branches too (will be in 8.5.2
and 8.6.0-rc01
)
an...@google.com <an...@google.com> #10
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 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.
Thank you for taking the time to submit feedback — we really appreciate it!
an...@google.com <an...@google.com> #11
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
I want to add a new asset directory to the Android instrumentation tests via the Variant API, but it is not working as the DSL API. I have attached a sample project that reproduces the issue.
In the
build.gradle.kts
I have:but when I run my test that validates that the asset file is present, it fails:
I can also see the APK is missing the files:
if I comment out the Variant APIs lines above and instead use the 'older' DSL:
then things work as expected:
and the APK also contains the expected asset files:
Let me know if you need any more information.