You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
After I created a project and ran it, it runs fine. Then I did
npm install @foursquare/pilgrim-sdk-react-native
followed bynpm install
andreact-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.The text was updated successfully, but these errors were encountered: