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 com.foursquare:pilgrimsdk:2.4.0. #10

Open
spsaroj opened this issue Oct 11, 2020 · 2 comments
Open

Could not find com.foursquare:pilgrimsdk:2.4.0. #10

spsaroj opened this issue Oct 11, 2020 · 2 comments

Comments

@spsaroj
Copy link

spsaroj commented Oct 11, 2020

After I created a project and ran it, it runs fine. Then I did npm install @foursquare/pilgrim-sdk-react-native followed by npm install and react-native link @foursquare/pilgrim-sdk-react-native. Now I tried to run the app, it gives "Could not find com.foursquare:pilgrimsdk:2.4.0." error.

@wallycarvalho
Copy link

hey @marchinram. Any thoughts on why we would be getting this 403? tks!

@wallycarvalho
Copy link

My problem was related to multiple maven repos in the same project. To proper match the package with the repo I had to use excludeGroup in my main root repo pointing out to foursquare's pilgrim sdk. That was one fix.

Second fix was to add https://github.com/foursquare/RNPilgrimSample/blob/master/android/app/build.gradle#L217 to my project. The solution came to mind when I had a Cannot find Symbol during my build process (related to the import of PilgrimSdk). After the dependency addition from the sample project, I was able to run successfully. Hope this helps.

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

2 participants