It looks like you're new here. If you want to get involved, click one of these buttons!
Note: E:\Gabriel\gideros\Drag Me\tmp\app\src\main\java\com\giderosmobile\android\DragMeActivity.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :app:mergeReleaseNativeDebugMetadata NO-SOURCE > Task :app:dexBuilderRelease > Task :app:mergeReleaseArtProfile > Task :app:validateSigningRelease > Task :app:writeReleaseAppMetadata > Task :app:writeReleaseSigningConfigVersions > Task :app:optimizeReleaseResources > Task :app:mergeDexRelease > Task :app:compileReleaseArtProfile > Task :app:packageRelease > Task :app:createReleaseApkListingFileRedirect > Task :app:lintVitalAnalyzeRelease > Task :app:lintVitalReportRelease > Task :app:lintVitalRelease FAILED E:\Gabriel\gideros\Drag Me\tmp\app\build.gradle:10: Error: Google Play requires that apps target API level 31 or higher. [ExpiredTargetSdkVersion] targetSdkVersion 30 ~~~~~~~~~~~~~~~~~~~ Explanation for issues of type "ExpiredTargetSdkVersion": As of the second half of 2018, Google Play requires that new apps and app updates target API level 26 or higher. 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", 1 errors, 0 warnings FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:lintVitalRelease'. > Lint found fatal errors while assembling a release target. Fix the issues identified by lint, or create a baseline to see only new errors: ``` android { lint { baseline = file("lint-baseline.xml") } } ``` E:\Gabriel\gideros\Drag Me\tmp\app\build.gradle:10: Error: Google Play requires that apps target API level 31 or higher. [ExpiredTargetSdkVersion] targetSdkVersion 30 ~~~~~~~~~~~~~~~~~~~ Explanation for issues of type "ExpiredTargetSdkVersion": As of the second half of 2018, Google Play requires that new apps and app Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. 41 actionable tasks: 41 executed updates target API level 26 or higher. 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", 1 errors, 0 warnings * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. BUILD FAILED in 14s Exec returned: 1 Export failed! See details above. |
Comments
you should use android target version 33 (I don't know which is now the required android target version, according to the logs it seems minimum is target version 31).
Likes: Gabriel_Mercês
I'm really grateful for your help
Likes: MoKaLux