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

Unable to use jcenter #323

Closed
BenjaminSAILcloud opened this issue Jan 17, 2022 · 10 comments
Closed

Unable to use jcenter #323

BenjaminSAILcloud opened this issue Jan 17, 2022 · 10 comments

Comments

@BenjaminSAILcloud
Copy link

Can this PR be accepted as quick as possible please ?

Jcenter is unaccessible at the moment and I can't build my app.

image

Stacktrace
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve org.webkit:android-jsc:+.
     Required by:
         project :app
      > Failed to list versions for org.webkit:android-jsc.
         > Unable to load Maven meta-data from https://jcenter.bintray.com/org/webkit/android-jsc/maven-metadata.xml.
            > Could not HEAD 'https://jcenter.bintray.com/org/webkit/android-jsc/maven-metadata.xml'.
               > Read timed out
   > Could not resolve org.greenrobot:eventbus:3.+.
     Required by:
         project :app > project :react-native-inappbrowser-reborn
      > Skipped due to earlier error

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
@willianlemes
Copy link

I'm having this problem too

@NicoMoli
Copy link

I am having the problem now, It's very important that we could found a solution. Thanks

@jdnichollsc
Copy link
Member

Please point to the develop branch of this repo in the meantime 👍

@chrismerino
Copy link
Contributor

@jdnichollsc, I'm having the same issue on a little project... Could it be related to this thread?
in-app-browser-build-error

@chrismerino
Copy link
Contributor

chrismerino commented May 12, 2022

@chrismerino try this, go to file android\build.gradle and changed the line implementation 'org.greenrobot:eventbus:3.+' to implementation 'org.greenrobot:eventbus:3.1.0'

also i suggest you to abandoned this library sadly the author has not time to keep it updated

Thank you @arcollector, this worked (edit: this worked locally but is not a good idea to work this way). Do you know any other similar library that is maintained? Ideally I would prefer to send a PR to this project but it seems there are a few still waiting for approval from author.

@slxsh
Copy link

slxsh commented May 13, 2022

@chrismerino try this, go to file android\build.gradle and changed the line implementation 'org.greenrobot:eventbus:3.+' to implementation 'org.greenrobot:eventbus:3.1.0'
also i suggest you to abandoned this library sadly the author has not time to keep it updated

Thank you @arcollector, this worked (edit: this worked locally but is not a good idea to work this way). Do you know any other similar library that is maintained? Ideally I would prefer to send a PR to this project but it seems there are a few still waiting for approval from author.

Did you find any other library?

@slxsh
Copy link

slxsh commented May 13, 2022

@chrismerino try this, go to file android\build.gradle and changed the line implementation 'org.greenrobot:eventbus:3.+' to implementation 'org.greenrobot:eventbus:3.1.0'

also i suggest you to abandoned this library sadly the author has not time to keep it updated

My android\build.gradle doesn't have implementation 'org.greenrobot:eventbus:3.+' and adding it causes some error.

@arcollector
Copy link

arcollector commented May 13, 2022

@sixsh isn't your build.gradle, the file is located in node_modules/react-native-inappbrowser/android/build.gradle

@chrismerino sadly dont know any good library, before this one i used https://www.npmjs.com/package/react-native-inapp-browser but project died

@chrismerino
Copy link
Contributor

chrismerino commented May 13, 2022

@chrismerino try this, go to file android\build.gradle and changed the line implementation 'org.greenrobot:eventbus:3.+' to implementation 'org.greenrobot:eventbus:3.1.0'
also i suggest you to abandoned this library sadly the author has not time to keep it updated

Thank you @arcollector, this worked (edit: this worked locally but is not a good idea to work this way). Do you know any other similar library that is maintained? Ideally I would prefer to send a PR to this project but it seems there are a few still waiting for approval from author.

Did you find any other library?

I haven't yet, although I noticed that Expo has expo-web-browser which apparently can be added to a React Native CLI project (which is my case). I haven't tested it yet but probably will because I'd like to keep using the in-app browser functionality.

Expo Web Browser
https://docs.expo.dev/versions/v45.0.0/sdk/webbrowser/

@jdnichollsc
Copy link
Member

Sorry for the delay folks, hope you're doing well

I was very busy because I am going to start working in another company and I was sick these days, I'm testing here right now to publish a new version ASAP!

Happy Friday! <3

@proyecto26 proyecto26 deleted a comment from arcollector Jul 29, 2022
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

7 participants