Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add tip about lint and headless machines

...

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 .

Known issues

Why do some issues have an "Unknown" category?

...