Coder Social home page Coder Social logo

Comments (12)

arnoldsi-tr avatar arnoldsi-tr commented on May 28, 2024 7

Hi,
The issue happened due the removal of jar file from the repository:
https://bintray.com/bintray/jcenter/com.android.tools.external.com-intellij:intellij-core/26.0.1#files/com%2Fandroid%2Ftools%2Fexternal%2Fcom-intellij%2Fintellij-core%2F26.0.1

There is a fix for it that should be implemented in cordovalib:
open:
platforms\android\CordovaLib\build.gradle

Replace the order of repositories from:
repositories { jcenter() maven { url "https://maven.google.com" } }

to:
repositories { maven { url "https://maven.google.com" } jcenter() }

I think this fix should be also implemented in cordova

from cordova-android.

arnoldsi-tr avatar arnoldsi-tr commented on May 28, 2024 3

@dpogue can't it be a hotfix for current major version? I think it's very important to fix this issue

from cordova-android.

vicenteaige avatar vicenteaige commented on May 28, 2024 1

I got the same error but with the support-v4-27.1.1.jar. I was able to build a few days ago.

from cordova-android.

arnoldsi-tr avatar arnoldsi-tr commented on May 28, 2024 1

@mccob this is temporary solution. Usually you shouldn't save the platform as part of you project and add it according to environment you running on.
Cordova guys should fix the issue :)

from cordova-android.

KristoferGoransson avatar KristoferGoransson commented on May 28, 2024

I also got the same issue today :/

from cordova-android.

mccob avatar mccob commented on May 28, 2024

working after an platform remove and add

from cordova-android.

arnoldsi-tr avatar arnoldsi-tr commented on May 28, 2024

@mccob nope, not for me. The url of package is still broken.
Which cordova CLI and android target you are running?

from cordova-android.

mccob avatar mccob commented on May 28, 2024

android target : cordova default

cordova -v
8.1.2 ([email protected])

cordova platform list
Installed platforms:
android 7.1.1

from cordova-android.

arnoldsi-tr avatar arnoldsi-tr commented on May 28, 2024

@mccob there is nothing changed in version 7.1.1 regarding this issue. You currently have cached gradle, therfore it working for you. On clean server or environment it won't work because the file doesn't exist (it was removed today, probably by mistake)

from cordova-android.

mccob avatar mccob commented on May 28, 2024

it's working because I have updated build.gradle as you explain (after platform rm / add)

from cordova-android.

dpogue avatar dpogue commented on May 28, 2024

Part of the proposed change to move the Google Maven repo ahead of jcentre has already been made and released in cordova-android 7.1.1. However, the build.gradle file in the CordovaLib project did not get updated.

We'll be doing further gradle updates in the next major version for compatibility with updated Android SDKs, so I'll make sure it gets fixed there.

from cordova-android.

dpogue avatar dpogue commented on May 28, 2024

It sounds like the root issue here is that stuff got published to bintray with broken dependencies. Changing the Cordova dependencies is working around the problem, but not actually fixing it (because it's entirely outside the scope of anything we can control).

We can make the gradle file change and try to do a 7.1.2 release, but it's going to take at least a few days before that can be published. Speaking for myself, I won't be able to even start the release process and submit it to the list for voting until mid-next week at the earliest.

from cordova-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.