apache / cordova-android

Apache Cordova Android
https://cordova.apache.org/
Apache License 2.0
3.59k stars 1.52k forks source link

Error running command "cordova run android" #1647

Closed Conmi-WhiteJoker closed 6 months ago

Conmi-WhiteJoker commented 8 months ago

Bug Report

`

Could not resolve all files for configuration 'classpath'. Could not resolve io.github.g00fy2:versioncompare:1.4.1. Required by: unspecified:unspecified:unspecified Could not resolve io.github.g00fy2:versioncompare:1.4.1. Could not get resource 'https://dl.google.com/dl/android/maven2/io/github/g00fy2/versioncompare/1.4.1/versioncompare-1.4.1.pom'. Could not GET 'https://dl.google.com/dl/android/maven2/io/github/g00fy2/versioncompare/1.4.1/versioncompare-1.4.1.pom'. ` image

Problem

Maven and google repositories are reporting errors that gradle-7.4.2 cannot be installed, and they both show 404.

What is expected to happen?

Build android apk.

What does actually happen?

Could not resolve all files for configuration 'classpath'.

Information

Command or Code

cordova run android

Environment, Platform, Device

Platform: Android Device: Google pixel 3

Version information

12.0.0 (cordova-lib@12.0.1)

Checklist

breautek commented 8 months ago

While those URLS to the versioncompare dependency (which is a dependency used by Cordova) returns 404, I'm unable to reproduce this locally.

I also deleted my ~/.gradle folder to remove any cached artifacts that gradle may be using instead of downloading which still didn't produce the issue.

Perhaps this was an intermittent issue with google's maven artifact server? Does the issue still persist?

breautek commented 6 months ago

Closing as stale.

KingBes commented 2 months ago

Is there a solution?