android 原生打包到混合开发框架uniapp 和cordova (2)解决Execution failed for task ‘:app:lintVitalRelease‘. > Lint found fatal errors while assembling a re

android 原生打包到混合开发框架uniapp 和cordova (1)

 

在使用gradle自动打包的时候出现了Execution failed for task ':app:lintVitalRelease'. > Lint found fatal errors while assembling a rele这种报错,如下所示:

解决办法:在app的build.gradle里面android下面加上:

 

 

lintOptions {
checkReleaseBuilds false
abortOnError false
}

然后build或者clean一下项目,再重新打包,错误应该就是没有了

 

posted @ 2023-01-10 14:02  ldp.im  阅读(383)  评论(0)    收藏  举报