How do I Target New API Level Requirement for App I want to publish
Lint found fatal errors while assembling a release target.
Fix the issues identified by lint, or create a baseline to see only new errors. To create a baseline, run gradlew updateLintBaseline after adding the following to the module's build.gradle file:
android { lint { baseline = file("lint-baseline.xml") } } For more details, see https://developer.android.com/studio/wr ... t#snapshot
C:\Users\lferg\AndroidStudioProjects\simple-web-browser-android\app\build.gradle:11: Error: Google Play requires that apps target API level 33 or higher. [ExpiredTargetSdkVersion] targetSdkVersion 29
Explanation for issues of type "ExpiredTargetSdkVersion": Configuring your app to target a recent API level ensures that users benefit from significant security and performance improvements, while still allowing your app to run on older Android versions (down to the minSdkVersion). To update your targetSdkVersion, follow the steps from "Meeting Google Play requirements for target API level", https://developer.android.com/distribut ... target-sdk. html https://support.google.com/googleplay/a ... #targetsdk https://developer.android.com/distribut ... t-sdk.html 1 errors, 0 warnings [enter image description here](



Источник: https://stackoverflow.com/questions/780 ... to-publish