Skip to content

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

@Kalebcoding

Description

@Kalebcoding

image

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions