生成签名的APK时出现':app:lintVitalRelease'错误
我试图将我的APK上传到Google Play上,并遇到错误消息:“您上传了可调试的APK。出于安全原因,您需要先禁用调试功能,然后才能在Google Play中发布。了解有关可调试的APK的更多信息。” 然后,我android:debuggable="false"在清单中写下并再次尝试。我遇到了相同的错误,因此我将模块的build变体设置为release,并尝试再次生成apk,但是这次生成了此错误: Error:Gradle: Execution failed for task ':app:lintVitalRelease'. Lint found fatal errors while assembling a release target. To proceed, either fix the issues identified by lint, or modify your build script as follows: ... android { lintOptions { checkReleaseBuilds false // Or, if you prefer, you can continue …