Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

10.10-maintenance Android build fails #4154

Open
nerdCopter opened this issue Sep 3, 2024 · 2 comments
Open

10.10-maintenance Android build fails #4154

nerdCopter opened this issue Sep 3, 2024 · 2 comments
Labels

Comments

@nerdCopter
Copy link
Member

nerdCopter commented Sep 3, 2024

Describe the bug

npm package cordova-lib fails due to:

BUILD FAILED in 34s
[16:16:53] 'cordova_debug_build' errored after 56 s
[16:16:53] Error: /home/runner/work/betaflight-configurator/betaflight-configurator/dist_cordova/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':CordovaLib'.
> Could not resolve all artifacts for configuration ':CordovaLib:classpath'.
   > Could not find com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/jfrog/bintray/gradle/gradle-bintray-plugin/1.7.3/gradle-bintray-plugin-1.7.3.pom
       - https://dl.google.com/dl/android/maven2/com/jfrog/bintray/gradle/gradle-bintray-plugin/1.7.3/gradle-bintray-plugin-1.7.3.jar
       - https://jcenter.bintray.com/com/jfrog/bintray/gradle/gradle-bintray-plugin/1.7.3/gradle-bintray-plugin-1.7.3.pom
       - https://jcenter.bintray.com/com/jfrog/bintray/gradle/gradle-bintray-plugin/1.7.3/gradle-bintray-plugin-1.7.3.jar
     Required by:
         project :CordovaLib

i tried upgrading cordova-lib to v 12.0.1, but it does not fix. tried various online tricks (build.gradle) without success. tried cordova-cli and cordova-cli-lib, but at that stage, i no longer know what i'm doing.

To Reproduce

Pull-request to 10.10-maintenance.

Configurator version

10.10-maintenance

@nerdCopter
Copy link
Member Author

nerdCopter commented Sep 4, 2024

@chmelevskij , i know you're busy ... albeit 10.10-maintenance maybe not so important, i tried a bunch of things to get older cordova/android building again, but such is outside of my expertise, thus i failed.

there is at least one bugfix outstanding for 10.10-maint: #4152 that may be on hold until android building is fixed.

@mohammadAlsafadiMetyaf
Copy link

i have same case, there any way to solve it?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants