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

android build issue -> Could not find com.android.volley:volley:1.1.1 #8

Open
jojo987N opened this issue Jan 15, 2024 · 0 comments
Open

Comments

@jojo987N
Copy link

This is the above error message I got when trying to build my react-native app for android. It appears to be trying to retrieve this package for the com.google.android.libraries.places:places:1.1.0 dependency listed in react-native-google-places version 3.1.2's android app/build.gradle file.

I think this was an error due to an outage with jcenter repos from what I can tell. Upon doing some research I was able to find out that com.google.android.libraries.places:places:1.2.0 is available on a stable maven repo and is backwards compatible with com.google.android.libraries.places:places:1.1.0.

To get my app building again I just added this to react-native-google-places android/build.grade file inside of node_modules:

implementation('com.google.android.libraries.places:places:1.1.0') {
        exclude group: 'com.android.volley'
    }
 implementation 'com.android.volley:volley:1.2.0'

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

1 participant