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 }

...

}

posted @ 2016-07-18 15:41  bodhicitta  阅读(696)  评论(0编辑  收藏  举报