Execution failed for task ':app:lintVitalRelease'.

今天一个项目打包的时候出现下面错误:

Execution failed for task ':app:lintVitalRelease'.
Expected a name but was STRING at line 1 column 99 path $[0].apkInfo.version
Execution failed for task ':app:lintVitalRelease'._第1张图片
错误.png

不知道是啥问题,versionName和versionCode都没问题
最后在app的build.gradle下面增加解决:

android {
lintOptions {
        checkReleaseBuilds false
        abortOnError false
    }
}

你可能感兴趣的:(Execution failed for task ':app:lintVitalRelease'.)