Build fails without a descriptive error message if ANDROID_NDK isn't defined.
If you don't have $ANDROID_NDK set (for example because your project doesn't need it), gradle will fail with a NullPointerException in lintVitalRelease.
This isn't really helpful.