Status Update
Comments
jg...@google.com <jg...@google.com> #2
cp...@gmail.com <cp...@gmail.com> #3
Analyzing dynamic features on their own like that doesn't work properly since even though they "depend" on the app they're actually including into an app so for example the unused resource check only makes sense when you look at it from the app perspective, not the other way around.
I believe in 7.0 we've fixed this in the sense that there isn't a lint task on the individual dynamic features.
jl...@google.com <jl...@google.com>
ro...@google.com <ro...@google.com> #4
+1. In AGP 7.0 there are no lint tasks in dynamic-features; instead, any dynamic-features are analyzed when running lint on the app module. OP, can you try with AGP 7.0.0-rc01
, run lintRelease
on the corresponding application module, and see if you still hit the same issue?
gh...@google.com <gh...@google.com> #5
Not using dynamic feature modules but have this with an application module and a library module, happening on 7.0.0-rc01. I haven't figured out a repro yet but will upload one if I manage.
Description
####################################################
Please provide all of the following information, otherwise we may not be able to route your bug report.
####################################################
1. Describe the bug or issue that you're seeing.
2. Attach log files from Android Studio
2A. In the IDE, select the Help..Collect Logs and Diagnostic Data menu option.
2B. Create a diagnostic report and save it to your local computer.
2C. Attach the report to this bug using the Add attachments button.
3. If you know what they are, write the steps to reproduce:
3A.
3B.
3C.
In addition to logs, please attach a screenshot or recording that illustrates the problem.
For more information on how to get your bug routed quickly, see
Build: AI-231.6890.12.2311.10027519, 202304280309
AI-231.6890.12.2311.10027519, JRE 17.0.6+0-17.0.6b829.5-9884540x64 JetBrains s.r.o., OS Linux(amd64) v5.19.0-41-generic, screens 3440.0x1440.0
AS: Hedgehog | 2023.1.1 Canary 2
Kotlin plugin: 231-1.8.0-release-345-AS6890.12.2311.10027519
Android Gradle Plugin: 8.2.0-alpha02
Gradle: 8.0
Gradle JDK: JetBrains Runtime version 17.0.6
NDK: from local.properties: (not specified), latest from SDK: (not found)
CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
```