So, I have created a custom lint rule for FlowLayout tag (a 3rd party library) to replace it with ConstraintLayout's Flow feature, here is the code: ...
So, I have created a custom lint rule for FlowLayout tag (a 3rd party library) to replace it with ConstraintLayout's Flow feature, here is the code: ...
How can I create reusable modifiers without android compose lint rules throwing a fit? I don't want to have to copy/paste the same modifiers for ever ...
I'm trying to learn more about android lints. So I want to see already implemented rules. I searched a lot but I couldn't find the location of these f ...
I am trying to upgrade my Android Gradle plugin from 4.1.3 to 7.0.4 also lint version to 30.0.4 I am using Gradle version 7.3.3 My Gradle daemon cra ...
. Answers to this question are eligible for a +200 reputation bounty. В ...
I have created my own lint Detector.visitCallExpression(UCallExpression) and I need to find a way to check if a MyClass class parameter passed into a ...
Android Studio gives the warning: Unboxing of 'idCollisonMap.get(currentId)' may produce 'NullPointerException' even though I am checking if the key ...
Here's the code in question: content variable in following line shows me a lint warning: The warning is: Expected non-nullable value If I ...
besides AGP update, updated compileSdkVersion and targetSdkVersion to 30. build success, if set else i get compileSdkVersion 30 buildToolsVersi ...
In my android code (Kotlin) I am using forEach method of java iterable. Below is my sdk config in build.gradle (app): Now my code builds fine. I ...
I'm trying to write a lint check, that visits call expressions, and report on some violation based on a generic type. To make it more clear, let's sa ...
How one can get rid of linter deprecation warnings? For example, the annoying NetworkInfo: ...
I have the following extension function to reduce a bit the code and to avoid forgetting the duration when showing a snackbar: But the lint is givi ...
I’ve got a project in which I get the following Android lint warning: Obsolete custom lint check ../../../../../../../.gradle/caches/transforms- ...
As described here, the Google Services Plugin generates XML files that can be referenced in code. My problem is that when running the lintRelease task ...
I am building a multi-module app and in each module I have lint settings as follows It is tedious to repeat such settings across all modules so I'm ...
I have created two custom lint rules and verified that they work as expected with unit tests. However, when I try to run lint on the whole project wit ...
I have already tried invalidating caches. Clean build and rebuild project also done. But I still keep getting unresolved reference for : Dispatchers, ...
I want to run the Android Lint both locally (IDE) and on the CI. I have a task like this, which I want the abortOnError as true when run on CI but fa ...
I'm using the recently released constraint layout version 2.0 and they have added a new feature called Flow which basically replaces what linear layou ...