Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Could not find support-v4.jar #524

Closed
emilianobonassi opened this issue Oct 24, 2018 · 5 comments
Closed

Could not find support-v4.jar #524

emilianobonassi opened this issue Oct 24, 2018 · 5 comments

Comments

@emilianobonassi
Copy link

emilianobonassi commented Oct 24, 2018

  • What went wrong:
    A problem occurred configuring root project 'android'.

Could not find support-v4.jar (com.android.support:support-v4:26.1.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/support-v4/26.1.0/support-v4-26.1.0.jar

We are using cordova-android version 6.4.0

It's the same issue of #521

@emilianobonassi
Copy link
Author

Temporarily I wrote a prebuild hook, you may find it here https://gist.github.com/emilianobonassi/6cee2265de170db28b66cb41d2cb41b1

It works for version 6.3.0

@emilianobonassi
Copy link
Author

For the mantainers, we should cherry pick 03c62e1 for every release we would like to support.

@dpogue
Copy link
Member

dpogue commented Oct 24, 2018

Currently only the latest version (7.1.x) is supported. Typically we stop supporting older versions after a period of about 6 months, barring security issues. I know many people are still relying on the 6.4.x versions for compatibility with some plugins, but the upcoming 7.1.2 release should allow everyone to upgrade.

Thanks for providing a hook though! That's a great workaround for people who are currently unable to upgrade.

@jcesarmobile
Copy link
Member

Closing as it’s fixed in #523

@raphaelmerx
Copy link

Temporarily I wrote a prebuild hook, you may find it here https://gist.github.com/emilianobonassi/6cee2265de170db28b66cb41d2cb41b1

You should add the -N option to the patch command so that it's idempotent.

patch -N platforms/android/build.gradle ${patchPath}

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

No branches or pull requests

4 participants