breautek commented on issue #1826:
URL:
https://github.com/apache/cordova-android/issues/1826#issuecomment-3079200705
How are you attempting to build?
`.gradle` is generated by the gradle wrapper, which I believe is invoked
during the `prepare` phase (something that is implicitly called when doing a
`cordova build`)
```
cordova platform add android@14
Using cordova-fetch for cordova-android@14
Adding android project...
Creating Cordova project for the Android platform:
Path: platforms/android
Package: io.cordova.hellocordova
Name: HelloCordova
Activity: MainActivity
Android Target SDK: android-35
Android Compile SDK: 35
Subproject Path: CordovaLib
Subproject Path: app
Android project created with [email protected]
norman@norman-workstation:/development/cordova/breautek/tests/gtest$ cordova
build android
Checking Java JDK and Android SDK versions
ANDROID_HOME=/development/tools/Android (recommended setting)
ANDROID_SDK_ROOT=/development/tools/Android (DEPRECATED)
Using Android SDK: /development/tools/Android
Starting a Gradle Daemon (subsequent builds will be faster)
BUILD SUCCESSFUL in 4s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :CordovaLib:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
[Incubating] Problems report is available at:
file:///development/cordova/breautek/tests/gtest/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 16s
50 actionable tasks: 50 executed
Built the following apk(s):
/development/cordova/breautek/tests/gtest/platforms/android/app/build/outputs/apk/debug/app-debug.apk
```
Freshly added android platform followed by a build doesn't reproduce the
issue for me.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]