Tipsi-stripe: Could not find com.github.tipsi:CreditCardEntry:1.4.8.10.

Created on 7 Mar 2018  路  7Comments  路  Source: tipsi/tipsi-stripe

I am running into an issue with trying to build on android. Its complaining about two separate things. The first:

Configure project :tipsi-stripe
Configuration 'compile' in project ':tipsi-stripe' is deprecated. Use 'implementation' instead.

which i don't think is breaking it, but i thought i would report anyway.

and then the error that is failing the build:

Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not find com.github.tipsi:CreditCardEntry:1.4.8.10.
  Searched in the following locations:
      file:/Users/josh/Library/Android/sdk/extras/m2repository/com/github/tipsi/CreditCardEntry/1.4.8.10/CreditCardEntry-1.4.8.10.pom
      file:/Users/josh/Library/Android/sdk/extras/m2repository/com/github/tipsi/CreditCardEntry/1.4.8.10/CreditCardEntry-1.4.8.10.jar
      file:/Users/josh/Library/Android/sdk/extras/google/m2repository/com/github/tipsi/CreditCardEntry/1.4.8.10/CreditCardEntry-1.4.8.10.pom
      file:/Users/josh/Library/Android/sdk/extras/google/m2repository/com/github/tipsi/CreditCardEntry/1.4.8.10/CreditCardEntry-1.4.8.10.jar
      file:/Users/josh/Library/Android/sdk/extras/android/m2repository/com/github/tipsi/CreditCardEntry/1.4.8.10/CreditCardEntry-1.4.8.10.pom
      file:/Users/josh/Library/Android/sdk/extras/android/m2repository/com/github/tipsi/CreditCardEntry/1.4.8.10/CreditCardEntry-1.4.8.10.jar
      https://dl.google.com/dl/android/maven2/com/github/tipsi/CreditCardEntry/1.4.8.10/CreditCardEntry-1.4.8.10.pom
      https://dl.google.com/dl/android/maven2/com/github/tipsi/CreditCardEntry/1.4.8.10/CreditCardEntry-1.4.8.10.jar
      file:/Users/josh/.m2/repository/com/github/tipsi/CreditCardEntry/1.4.8.10/CreditCardEntry-1.4.8.10.pom
      file:/Users/josh/.m2/repository/com/github/tipsi/CreditCardEntry/1.4.8.10/CreditCardEntry-1.4.8.10.jar
      https://jcenter.bintray.com/com/github/tipsi/CreditCardEntry/1.4.8.10/CreditCardEntry-1.4.8.10.pom
      https://jcenter.bintray.com/com/github/tipsi/CreditCardEntry/1.4.8.10/CreditCardEntry-1.4.8.10.jar
      file:/Users/josh/Cauze/CauzeMobile/node_modules/react-native/android/com/github/tipsi/CreditCardEntry/1.4.8.10/CreditCardEntry-1.4.8.10.pom
      file:/Users/josh/Cauze/CauzeMobile/node_modules/react-native/android/com/github/tipsi/CreditCardEntry/1.4.8.10/CreditCardEntry-1.4.8.10.jar
  Required by:
      project :app > project :tipsi-stripe

any ideas on what might be causing this? I'm having no luck. Thanks

Most helpful comment

go to android/build.gradle
then add maven { url "https://jitpack.io" } just like below
allprojects {
repositories {
.........
maven { url "https://jitpack.io" }
}
}

All 7 comments

the issue was i already had a url inside of the maven repository in android/build.gradle, so react-native link wasn't adding it in for whatever reason. Took back my star since no response in over 2 days.

I had same issue

I have same issue. Please fix this on urgent basis. I need this in my app urgently. Can't wait for long time. Please help me on this problem ASAP.

version info :-

react-native : 0.58.4
tipsi-stripe: 7.3.0

OS : window 10

Attaching screenshot for your reference.

image

@DivyanshuPathak123 just make CCEntry versions same, it should be either 1.5.1 or 1.4.8.10

@DivyanshuPathak123 did you get solution for it ? please mention if you got , I am facing same

go to android/build.gradle
then add maven { url "https://jitpack.io" } just like below
allprojects {
repositories {
.........
maven { url "https://jitpack.io" }
}
}

        maven { url "https://www.jitpack.io" }
        maven { url "$rootDir/../node_modules/react-native/android" }

Add it as another maven url.

Was this page helpful?
0 / 5 - 0 ratings