Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Build failed - I need help with this — Gideros Forum

Build failed - I need help with this

I'm getting this error exporting anything to android:
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.
I haven't specified neither SDK path nor JDK path.

Thanks in advance!

Comments

Sign In or Register to comment.