I'm trying to run Gradle builds on a Mac TeamCity server. During the Lint check, I'm getting failures:
FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':Project_Name:lint'. > > Can't connect to window server - not enough permissions. This seems to be related to this Lint issue<https://code.google.com/p/android/issues/detail?id=55820> and this change<https://android.googlesource.com/platform/tools/base/+/16c2ae5f406222755d94db6b183e2c3d04182de7> which seems to imply that it was fixed in lint about a year ago by having lint invoke JVMs in headless mode. Looking at the contents of lint in my sdk directory shows this change, yet the issue still occurs. It seems that Gradle is not using the lint executable in the sdk directory, and whatever executable it is using does not contain this fix. I imagine this means someone needs to update the lint executable Gradle is using. In the meantime, is there a way I can replace this locally? -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
