今天一个项目打包的时候出现下面错误:
Execution failed for task ':app:lintVitalRelease'.
Expected a name but was STRING at line 1 column 99 path $[0].apkInfo.version
不知道是啥问题,versionName和versionCode都没问题
最后在app的build.gradle下面增加解决:
android {
lintOptions {
checkReleaseBuilds false
abortOnError false
}
}