美文网首页
react native 打包报错Could not deter

react native 打包报错Could not deter

作者: _若无 | 来源:发表于2020-09-16 09:20 被阅读0次

执行:./gradlew assembleRelease 打包命令
报错信息 Could not determine the dependencies of task ':app:lintVitalRelease'.

解决办法:
在 android/app/build.gradle 中添加如下代码

android {
...
    lintOptions {
        checkReleaseBuilds false
        abortOnError false
    }
...
}

相关文章

网友评论

      本文标题:react native 打包报错Could not deter

      本文链接:https://www.haomeiwen.com/subject/ghlcyktx.html