For best results, run Lint in your Android application's directory, e.g.:
cd app; lint --xml lint-results.xml .
Note: When running Jenkins on a headless system, or under a user ID which doesn't have access to a graphical environment, you may see some errors while running Lint.
To combat this, you can run Java in headless mode, as follows:
os_opts="-Djava.awt.headless=true" lint --xml lint-results.xml .
Why do some issues have an "Unknown" category?