Build Success and Warnings
May 6, 2025 ยท AI Conversations
The "" tags were detected and are no longer supported. Please migrate to the "preference" tag "AndroidWindowSplashScreenAnimatedIcon".
Checking Java JDK and Android SDK versions
ANDROID_HOME=/home/admin1/Android/Sdk (recommended setting)
ANDROID_SDK_ROOT=undefined (DEPRECATED)
Using Android SDK: /home/admin1/Android/Sdk
BUILD SUCCESSFUL in 973ms
1 actionable task: 1 up-to-date
Subproject Path: CordovaLib
Subproject Path: app
> Task :CordovaLib:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :app:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[Incubating] Problems report is available at: file:///home/admin1/cordova/client/circusscanner/platforms/android/build/reports/problems/problems-report.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '–warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.13/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD SUCCESSFUL in 7s
50 actionable tasks: 50 executed
Built the following apk(s):
/home/admin1/cordova/client/circusscanner/platforms/android/app/build/outputs/apk/debug/app-debug.apk
/home/admin1/cordova/client/circusscanner/platforms/android/app/build/outputs/apk/debug/app-debug.apk
### Warnings & Recommendations:
1. **Deprecated “ tag**:
– Replace with:
<preference name="AndroidWindowSplashScreenAnimatedIcon" value="res/drawable/splash_icon.xml" />
See [Cordova Splash Screen Guide](https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen/) for updates.
2. **Deprecated Gradle features**:
– These may break your build with Gradle 9+. Consider upgrading your Cordova/Gradle dependencies or plugins to ensure compatibility.
3. **Unchecked/unsafe operations in Java code**:
– You can review warnings using:
cordova build android -- --warning-mode all
Would you like instructions to install this APK on your Android device via ADB?