Comments (12)
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.
@dpogue can't it be a hotfix for current major version? I think it's very important to fix this issue
from cordova-android.
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.
@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.
I also got the same issue today :/
from cordova-android.
working after an platform remove and add
from cordova-android.
@mccob nope, not for me. The url of package is still broken.
Which cordova CLI and android target you are running?
from cordova-android.
android target : cordova default
cordova -v
8.1.2 ([email protected])
cordova platform list
Installed platforms:
android 7.1.1
from cordova-android.
@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.
it's working because I have updated build.gradle as you explain (after platform rm / add)
from cordova-android.
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.
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)
- Missing privateHelpers.extractStringFromManifest method. HOT 1
- Android 14 support ? HOT 1
- Incoming Call FullScreen Intent On A Cordova Activity HOT 1
- `ErrorURL` preference is not working HOT 2
- cordova-android build tools not found issue HOT 1
- Will Cordova Android 13 support Kotlin 1.9.x ? HOT 2
- Failed to register a ServiceWorker with Cordova 10 HOT 6
- Target date for support to API34 HOT 2
- DevTools cannot display source map properly HOT 2
- cordova-android12.0.1 onRequestPermissionsResult never used HOT 1
- Cordova app on Android crashes after choosing file with native HTML file input, only on Android 13 HOT 3
- Update docs in regards to using adaptive icons with background colors HOT 3
- Splash screen icon not show at first launch HOT 1
- Execution failed for task ':app:mergeReleaseResources'. HOT 2
- Panoramic images HOT 1
- backgroundMode plugin quirks HOT 2
- Cordova undefined when AndroidInsecureFileModeEnabled set to false HOT 2
- Detected 'avdmanager' command but no 'tools\bin' directory found near. HOT 2
- Push Notifications on Android 13 and higher devices HOT 1
- Black or blank screen seen after keeping application idle and then open the application in cordova version >= 10. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-android.