Fixed
Status Update
Comments
uc...@google.com <uc...@google.com>
ga...@google.com <ga...@google.com>
sp...@google.com <sp...@google.com> #2
I also have the same issue so it seems to be a real problem.
da...@gmail.com <da...@gmail.com> #4
why is this marked has Obsolete? this is still a bug that is happening and its difficult to fix.
for all who are looking for a solution use this:
http://stackoverflow.com/questions/16200972/android-css-positionfixed-after-a-device-rotate
for all who are looking for a solution use this:
ts...@vewd.com <ts...@vewd.com> #5
I am also seeing this in AGP 7.2.2, lint.xml is used by the build, but changes to lint.xml do not trigger a new lint run.
As a workaround, I have added
lintConfig file("lint.xml")
in lintOptions and this seems to have made things better. Still seems like a bug, if the file is used by default it should be considered an input by the build.
As a workaround, I have added
lintConfig file("lint.xml")
in lintOptions and this seems to have made things better. Still seems like a bug, if the file is used by default it should be considered an input by the build.
pa...@gmail.com <pa...@gmail.com> #6
Google, note the `@Optional @Input` task annotations.
It's possible that even with setting a globally unique config (rootProject.file(lint.xml)), it would still pick up individual lint.xml in modules as override. I observed this years ago, not sure if it's still the case.
It's possible that even with setting a globally unique config (rootProject.file(lint.xml)), it would still pick up individual lint.xml in modules as override. I observed this years ago, not sure if it's still the case.
sp...@google.com <sp...@google.com> #7
This has been fixed with Change-Id: I9bcab62058870fec88023f888b0889c3d42262f8.
The fix will be in AGP 8.0.0-alpha09.
Description
DESCRIBE THE ISSUE IN DETAIL:
It is possible to put
lint.xml
s in therootProject
and in every module individually. These will be considered together to set up configuration for each module. In the attach project the structure is:app
lint.xml
missing, will use../lint.xml
lib
lint.xml
exists, but empty (will be modified by step 6)lint.xml
exists, and suppresses the clear unused resources by pattern.STEPS TO REPRODUCE:
gradlew lint
:lib:lintDebug
telling us there's an unused resource called "unused" inlib/build/reports/lint-results-debug.html
gradlew lint
lib/lint.xml
and uncomment<ignore>
gradlew lint
Actual: Observe nothing was executed, everything up-to-date.
Expected: lint analysis re-executes and updates the HTML report with the findings based on the newly changed config file.
Bonus steps to prove that the uncommenting should have an effect:
gradlew clean lint --no-build-cache
Workaround
polyfill missing setup