react native编译报错

* What went wrong:
Execution failed for task ':app:lintVitalRelease'.
> java.lang.NullPointerException (no error message)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

./gradlew app:assembleRelease -x lintVitalRelease

或则在 

android - app - build.gradle 里面添加

android {

...

lintOptions { checkReleaseBuilds false }

...

}

原文地址:https://www.cnblogs.com/examine/p/5681476.html