a11n / android-lint Goto Github PK
View Code? Open in Web Editor NEWThe missing documentation on how to write custom Android Lint rules.
The missing documentation on how to write custom Android Lint rules.
Now I maintains a customized Lint project on Linux. I put the customized Lint jar file into ~/.android/lint/, but it cannot take effect unless I restart the computer. I think it is very time-consuming.
Does anyone happen to know how to take it effect without restarting computer? Thanks.
BR
Add information on "inline specification" of test data.
Hi,
first of all thank you for this documentation, it helped me a lot and saved my time.
I am trying to integrate my custom lint rules in my library project.
The way deploying the aar with the rules to a central repository works fine.
But i have problems integrating the rules as a local aar (in the libs folder). The aar is not included whe running the build of my library and i don't get any error messages when building the library.
I hava also to say that i have maybe a "unusual" setup:
There is a workspace with the app where i load multiple modules (as android libraries from different folders) into this workspace:
d:\projects\myapp\workspace
d:\projects\myapp\workspace\application (contains the app with the subfolders src, gradle, libs, etc.)
d:\projects\mylibrary (contains the library with the subfolders src, gradle, libs, etc.)
I placed the aar with the rules in d:\projects\mylibrary\libs and modified the build.gradle as described in your documentation
dependencies { compile fileTree(dir: 'libs', include: '*.jar') }
When i run the build (command line or android studio does not matter) nothing happens and the aar with the rules does not appear in the 'exloaded-aar' directory.
Used tools:
android gradle build tools Version 2.2.3
Gradle version 3.1
Android Studio 2.2.3
Maybe you have some advices?
Thanks.
Hi André I stumbled upon your repo in my search for a definitive guide on building lint rules for android. I just started going through it and I appreciate the organization of information, examples and detail you used to make the guide.
While reading I noticed a few typos and areas where I would have appreciated links. In the spirit of your contribution readme I wanted to check you'd like a PR for these corrections and additions? I plan to put the typo corrections in one commit and the addition of links in another.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.