Nik*_*ntz 2 android android-studio
我可以在模拟器中构建和运行应用程序,但是当我尝试生成签名的 apk 时,会发生以下情况。
Error:Execution failed for task ':app:lintVitalRelease'.
> Invalid main APK outputs : BuildOutput{apkInfo={type=MAIN, versionCode=0, filters=[]}, path=C:\Users\datan\StudioProjects\gamex\app\release\app-release.apk, properties=},BuildOutput{apkInfo={type=MAIN, versionCode=0, filters=[]}, path=C:\Users\datan\StudioProjects\gamex\app\release\space-release.apk, properties=}
Run Code Online (Sandbox Code Playgroud)
尝试以下
buildTypes {
release {
lintOptions {
disable 'MissingTranslation'
checkReleaseBuilds false
abortOnError false
}
minifyEnabled false
signingConfig signingConfigs.release
}
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5597 次 |
| 最近记录: |