============
git clone https://github.com/ken5scal/UnusedActivityLint.git
cd android-custom-lint-rules
./gradlew build
cp ./whatever_your_workind_dir/android-custom-lint-rules.jar ~/.android/lint/
lint --show UnusedActivityLint
./gradlew lint
Note: If you can't run
lint
directly, you may want to include android toolsPATH
in your~/.bash_profile
. (i.e.PATH=$PATH:~/Library/Android/sdk/tools
)Then run
source ~/.bash_profile
.
If you've found an error, suggestion, recommendation, please file an issue: https://github.com/ken5scal/UnusedActivityLint/issues
- https://developer.android.com/studio/write/lint.html
- https://github.com/googlesamples/android-custom-lint-rules
- https://realm.io/news/360andev-matthew-compton-linty-fresh-java-android/
- https://android.googlesource.com/platform/tools/base/+/master/lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks
- https://github.com/adorilson/android-lint-checks