GitToTheHub opened a new issue, #1863: URL: https://github.com/apache/cordova-android/issues/1863
# Bug Report ## Problem I cannot build with cordova-android anymore. I get these error messages: ```bash Checking Java JDK and Android SDK versions ANDROID_HOME=/Users/manuelbeck/Library/Android/sdk (recommended setting) ANDROID_SDK_ROOT=undefined (DEPRECATED) Using Android SDK: /Users/manuelbeck/Library/Android/sdk > Task :wrapper FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':wrapper'. > Test of distribution url https://services.gradle.org/distributions/gradle-8.13-bin.zip failed. Please check the values set with --gradle-distribution-url and --gradle-version. * 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. > Get more help at https://help.gradle.org. BUILD FAILED in 4s 1 actionable task: 1 executed undefined Command failed with exit code 1: gradle -p /Users/manuelbeck/Projekte/Cordova/notification-test/platforms/android/tools wrapper --gradle-version 8.13 ``` When I check the url of `https://services.gradle.org/distributions/gradle-8.13-bin.zip` by ```bash curl -I https://services.gradle.org/distributions/gradle-8.13-bin.zip ``` I get a ` Temporary Redirect` to GitHub: ```bash HTTP/1.1 307 Temporary Redirect Date: Fri, 07 Nov 2025 21:03:41 GMT Content-Type: text/html Content-Length: 169 Connection: keep-alive Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: Thu, 01 Jan 1970 00:00:01 GMT Location: https://github.com/gradle/gradle-distributions/releases/download/v8.13.0/gradle-8.13-bin.zip Strict-Transport-Security: max-age=31536000; includeSubDomains; preload Server: cloudflare CF-RAY: 99afc75dcc84e515-TXL ``` Is here something wrong in Cordova not handling the redirect correct? ### What is expected to happen? The build should be successful ### What does actually happen? The build fails ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> ### Command or Code <!-- What command or code is needed to reproduce the problem? --> I tested a fresh setup: ```bash cordova create android-test cd android-test cordova platform add android cordova build android ``` ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> - macOS 26.1 ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> - cordova-android 14.0.1 - cordova 12.0.0 ([email protected]) ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [ ] I searched for existing GitHub issues - [ ] I updated all Cordova tooling to most recent version - [ ] I included all the necessary information above -- 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]
