-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 resolve com.android.tools.build:gradle:2.3.+ #605
Comments
Did you resolve it? Closing as it doesn't really seem related to this package, reopen if you think otherwise. |
Not completely. Right, it doesn't relate to this package. Thanks! |
+1 |
Its internet. my wifi was disconnecting when I was run android build and got this error. |
I am facing the same issue, please reopen this |
|
This error just started popping up for me for two different projects across two different Macs. Internet seems fine. I’m not behind any proxies. |
...and 30 minutes later the error disappeared. I'm pretty sure that I hadn't changed a thing in the meantime. I'm guessing a server issue at the jcenter end or maybe just some networking issues with my ISP. |
same issue |
I just encountered this issue, in 2 different PCs, in 2 different projects in both. It was not going away by itself, but I fixed it doing 2 things, in my node_modules/react-native-vector-icons/android/build.gradle, added the google() repository and updated the gradle dependency, as such:
From what it seems, this will happen every now and then when jcenter decides to change things, in most cases you can just wait for it to fix itself but i'd recommend doing this for vector icons next release to avoid these sudden downtimes. |
I get this error after try what @DaniloT did: |
@AFMW there's a lot of reasons that could happen, I'd recommend first trying a ./gradlew clean in your apps android directory. Mostly, to fix this, I think you'll need to update your own projects gradle, which is recommended anyway. But if it is not an option, then I guess you might need to wait for the jcenter repository to get back to working condition and the error to go away by itself. Check your apps gradle version against mine. For reference, my apps build.gradle is:
While the distribution url in my android/gradle/wrapper/gradle-wrapper.properties is:
|
I'm sorry, I didn't notice I was using the wrong version in my package.json file, had it as ^5.0.0, that is why this package was using such an old gradle version. Updating react-native-vector-icons in my package.json file to at least 6.0.2 already applies exactly what I was suggesting, so anyone running into this issue, do update your package instead of doing this manually. Also be careful that 6.1.0 requires gradle 3.2 at least to work so do take care to update when needed. |
@DaniloT that works for me (Y) |
i have the same problem since today :/ |
I encountered same issue, today.any solution? |
I am having this issue today but will try tomorrow as this seems like a jcenter issue as @DaniloT mentioned above. My package.json is fixed so I am not too worried as this seems like an third party issue. |
I getting this issue in today morning. Hopefully it will fix soon |
Same issue for me. Unable to build on android starting this morning. |
It worked for me. Then, do/follow the manual installation guide for android on this link. |
Thank a lot, bro! |
Yes, the update is the solution but many icons are no longer valid, must be searched and modified. |
@jayrparro Upgrade "react-native-vector-icons": "^6.0.2" in package.json dont't work, install apk get wrong with info:
|
i get this problem too. compiling yesterday, start the computer today morning without changing anything and not compiling... |
@jayrparro getting this error after upgrading the package:
|
did you get this error too :
|
This worked for me. Did not do manual installation - even installing using npm and then using react-native to link automatically caused this error to go away. |
Yes i am getting same error |
Hi @randomco have you changed distributionUrl to https://services.gradle.org/distributions/gradle-4.4-all.zip |
https://jcenter.bintray.com/com/android/tools has been removed from production, so unless that was a mistake and they put it back, this is a temp workaround to get you back up and running until a fix is out from this library or jcenter. |
It worked for me. |
No I didn't. How do I do that?
…On Tue 11 Dec, 2018, 15:38 Nikhil Bhavsar ***@***.*** wrote:
It worked for me.
Upgrade "react-native-vector-icons": "^6.0.2" in package.json
Then, do/follow the manual installation guide for android on this link.
<https://github.com/oblador/react-native-vector-icons#installation>
This worked for me. Did not do manual installation - even installing using
npm and then using react-native to link automatically caused this error to
go away.
Hi @randomco <https://github.com/randomco> have you changed
distributionUrl to
https://services.gradle.org/distributions/gradle-4.4-all.zip
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#605 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AngKgrs5dx6IuB1tDu3zbZhzDW-iQJ7qks5u34QhgaJpZM4Q_VIs>
.
|
thanks man this worked for me |
As google removed
|
If you use icons that are no longer available in the most recent version, follow the instructions in this package readme to install them as a custom font. Mostly, they can be just replaced with similar ones, but it is up to you. Updating the package is the best fix option, and updating your own gradle is needed to use the versions above 6. This should be done anyway, as the older gradle versions are being deprecated for a reason, so only attempt another fix if you really have a problem with updating your gradle. |
* WIP: six-digit-id * Goto relevant screen after entering six digit id * Bugfix: patient search via sdid * Remove unused card status * Fix: association confirmation at wrong times, bring back :pending * Bugfix: handle-six-digit-input was overwriting db * Associate six digit id with existing patient after scan screen * Bugfix: abstract out has-six-digit-id? and dedup code * Register new patient with six-digit-id when no results are found * Bugfix: six-digit-id should lead to search page when no results are found * Bugfix: associate six-digit-id with patient when registering * Search results page cleanup - show Add Card to Patient header only when pending association - cleanup old search results in six digit id flow * Update react-native-vector-icons to fix intermittent build error Info: oblador/react-native-vector-icons#605 * Search results: show back arrow * Minor refactoring to address comments on PR
Getting the same issue from today. Any solution? |
@amitbravo Yes, It's internet problem. Thanks. |
I'm getting an error after running
react-native run-android
which is totally fine by building the project in android 3+ studio. Does anyone have an idea why it could happen?ps. I could open the link manually in a browser.
"react-native": "0.51.0"
"react-native-vector-icons": "^4.4.2"
OS: macOS Sierra
[email protected] Test repository https://github.com/EclipticWld/rntest
upd: I found out that I can't reach jcenter.bintray.com with terminal and I have no idea why because I don't use any firewalls.
The text was updated successfully, but these errors were encountered: