android-custom-lint-rules icon indicating copy to clipboard operation
android-custom-lint-rules copied to clipboard

This sample demonstrates how to create a custom lint checks and corresponding lint tests

Results 24 android-custom-lint-rules issues
Sort by recently updated
recently updated
newest added

for example,use C:\user\admin\desktop\lint.jar for custom rules?

I used AS 4.1.1. Imported the project and could see the custom rule highlighting. Then I updated to 4.2.2, reseted AS to its defaults and re-imported the project. Since that...

https://github.com/googlesamples/android-custom-lint-rules/blob/4ff2f4d91773fb56c136b2b0b581cc4c0e39e72e/library/build.gradle#L20 If we add this implementation line, it will add a dependency of checks module after we publish to maven, but it is unnecessary because the aar will contain lint.jar.

Hi! Please, read the whole issue, before rejecting it, as I think at least part of it is directly related to this project. The chapter about partial analysis says, that...

I'm trying to figure out why the lint check isn't surfaced to Android Studio inspections. Yes, I can run `./gradlew :app:lint` and it creates a report, but when looking at...

When I tried moving the Test.kt file from the :app module to the :library module, lint stopped reporting the expected warning. Steps to reproduce: 1. `git clone https://github.com/googlesamples/android-custom-lint-rules.git` 2. `cd...

We are currently migrating to AGP 7 and noticed that our custom lint rules are not included in the lint checks. We previously included them using `lintChecks project(":libraries:lint-rules")` and we...

I want to rename the class's name, but lintfix Just changing the string name, not the class name.

download the latest code, and remove `implementation project(':library')` in `app/build.gradle`; and copy `checks.jar` to /tmp ``` osboxes# export JAVA_HOME=/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 osboxes# export ANDROID_LINT_JARS=/tmp/checks.jar osboxes# ./gradlew clean :app:build > Task :app:lintDebug Scanning...

When I run :play:myapp:lintDebug, it resvoles releaseCompileClasspath ? It's ok to run assembleDebug. I think it's not necesary to resolve release build type. * What went wrong: Could not determine...