question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not find com.google.android.gms:play-services-tapandpay:17.1.2.

See original GitHub issue

Failed compilation with last version 0.14.0 on Android Studio (it works with version 0.13.1)

Execution failed for task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':stripe_stripe-react-native:debugAndroidTestRuntimeClasspath'.
   > Could not find com.google.android.gms:play-services-tapandpay:17.1.2.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/com/google/android/gms/play-services-tapandpay/17.1.2/play-services-tapandpay-17.1.2.pom
       - file:/Users/ndevienne/.m2/repository/com/google/android/gms/play-services-tapandpay/17.1.2/play-services-tapandpay-17.1.2.pom
       - file:/Users/ndevienne/Medadom/Development/ReactNative/medadomdev/node_modules/react-native/android/com/google/android/gms/play-services-tapandpay/17.1.2/play-services-tapandpay-17.1.2.pom
       - file:/Users/ndevienne/Medadom/Development/ReactNative/medadomdev/node_modules/jsc-android/dist/com/google/android/gms/play-services-tapandpay/17.1.2/play-services-tapandpay-17.1.2.pom
       - file:/Users/ndevienne/Medadom/Development/ReactNative/medadomdev/node_modules/expo-camera/android/maven/com/google/android/gms/play-services-tapandpay/17.1.2/play-services-tapandpay-17.1.2.pom
       - https://www.jitpack.io/com/google/android/gms/play-services-tapandpay/17.1.2/play-services-tapandpay-17.1.2.pom
       - https://jcenter.bintray.com/com/google/android/gms/play-services-tapandpay/17.1.2/play-services-tapandpay-17.1.2.pom
       - https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-tapandpay/17.1.2/play-services-tapandpay-17.1.2.pom
     Required by:
         project :stripe_stripe-react-native > com.stripe:stripe-android-issuing-push-provisioning:1.1.0

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
charliecruzan-stripecommented, Jul 8, 2022

@nicolasdevienne I found the root cause (I think)

Can you open node_modules/@stripe/stripe-react-native/android/build.gradle & comment out L157-L160? That should address the linter issue.

0reactions
nicolasdeviennecommented, Jul 11, 2022

@nicolasdevienne I found the root cause (I think)

Can you open node_modules/@stripe/stripe-react-native/android/build.gradle & comment out L157-L160? That should address the linter issue.

@charliecruzan-stripe it works! 🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - Failed to resolve tapandpay dependency in local
I resolved my bug. I added to build.gradle allprojects { repositories { google() jcenter() mavenLocal() maven { url ...
Read more >
Release Notes - Play services - Google Developers
December 15, 2022. The latest update to the Google Play services Matter library upgrades the APIs from beta status to generally available.
Read more >
Solve Could not find com.google.android.gms:play ... - YouTube
This video is about to solve Could not find com. google. android. gms : play - services -vision:15.2.0If you solved your problem by...
Read more >
Failed to resolve com.google.android.gms:play services maps ...
How to fixing android studio error when trying to update build.gradle ( google play service for map) see this video for details.
Read more >
stripe-android-issuing-push-provisioning : 1.0.4 - Maven Central
google.android.gms:play-services-wallet · com.google.android.gms:play-services-tapandpay · com.google.android.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found