Status Update
Comments
kd...@google.com <kd...@google.com>
pa...@google.com <pa...@google.com>
an...@nrk.no <an...@nrk.no> #2
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 Feature Drop | 2024.2.2 Canary 3
- Android Gradle Plugin 8.8.0-alpha03
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!
pa...@google.com <pa...@google.com> #3
Scott: I guess this probably needs to be handled from AGP?
sp...@google.com <sp...@google.com>
an...@nrk.no <an...@nrk.no> #5
Thank you so much for the quick fix. Will look forward to test it out.
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 Feature Drop | 2024.2.2 Canary 5
- Android Gradle Plugin 8.8.0-alpha05
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!
Description
Describe the bug or issue that you're seeing.
We have a project with multiple modules using here . This seems to build just fine when for instance building a regular APK, but linting fails.
apply plugin: 'com.android.library'
. One of these modules (calledanalytics
) needs to use an external AAR file. We have tried to set it up as describedFor instance when we run
lintDebug
we get this error:We don't need the modules to be built as AAR-files, in the end they'll just be part of the final app. But then we assume there's either something missing in the documentation, there is an error with the linting or that we are missing some setup.
A similar issue has been discussed on StackOverflow , but that's for modules that are going to be used as actual libraries in the end - and they are refering to an old method that I guess aren't recommended anymore?
Attach log files from Android Studio
As this most likely isn't an issue with Android Studio (I just weren't allowed to create the issue anywhere else) I don't think this is needed - but let me know if it is!
If you know what they are, write the steps to reproduce:
implementation files(...)
with an AAR-filelintDebug
task or something alike itAdditional information