Android Lint report for my project only, excluding library projects?

前端 未结 4 1610
春和景丽
春和景丽 2020-12-05 18:06

How do I run Android Lint so it only reports on my project module, and ignores any library projects I\'m using? Even when I aim Lint at my project\'s module, it spews out li

4条回答
  •  旧巷少年郎
    2020-12-05 18:43

    The Android SDK Tools 21.1 introduced a new, convenient feature to solve this problem / bug.

    Have a look at the Android Lint overflow menu and you will find the option Skip Library Project Dependencies which will do exactly what you are looking for.

    enter image description here

提交回复
热议问题