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

cards.pay:paycardsrecognizer:1.1.0 can't be resolved #69

Open
tamimattafi opened this issue Jul 14, 2023 · 19 comments
Open

cards.pay:paycardsrecognizer:1.1.0 can't be resolved #69

tamimattafi opened this issue Jul 14, 2023 · 19 comments

Comments

@tamimattafi
Copy link

First, thanks for this great library!

Project doesn't build because paycardsrecognizer cannot be resolved, it worked before, but it fails now for some reason.
The domain http://pay.cards is down or unavailable, therefore, http://pay.cards/maven/cards/pay/paycardsrecognizer/ isn't available and that might be the reason of the failure.

logs:

FAILURE: Build completed with 3 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':presentation:ui:dataBindingMergeDependencyArtifactsRelease'.
> Could not resolve all files for configuration ':presentation:ui:releaseCompileClasspath'.
   > Could not resolve cards.pay:paycardsrecognizer:1.1.0.
     Required by:
         project :presentation:ui
      > Could not resolve cards.pay:paycardsrecognizer:1.1.0.
         > Could not parse POM http://pay.cards/maven/cards/pay/paycardsrecognizer/1.1.0/paycardsrecognizer-1.1.0.pom
            > The markup in the document preceding the root element must be well-formed.

Could we please, have a copy of the library, on mavenCentral?
We are having problems with this library more often now, specifically with the availability of the website, we are thinking of forking and publishing it locally somewhere, or even moving to ML kit from google.

@SimpleSmiki
Copy link

We have similar problems, looking forward for a solution.

@Divinkas
Copy link

Have the same issues
Are you find solve?

@Divinkas
Copy link

First, thanks for this great library!

Project doesn't build because paycardsrecognizer cannot be resolved, it worked before, but it fails now for some reason. The domain http://pay.cards is down or unavailable, therefore, http://pay.cards/maven/cards/pay/paycardsrecognizer/ isn't available and that might be the reason of the failure.

logs:

FAILURE: Build completed with 3 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':presentation:ui:dataBindingMergeDependencyArtifactsRelease'.
> Could not resolve all files for configuration ':presentation:ui:releaseCompileClasspath'.
   > Could not resolve cards.pay:paycardsrecognizer:1.1.0.
     Required by:
         project :presentation:ui
      > Could not resolve cards.pay:paycardsrecognizer:1.1.0.
         > Could not parse POM http://pay.cards/maven/cards/pay/paycardsrecognizer/1.1.0/paycardsrecognizer-1.1.0.pom
            > The markup in the document preceding the root element must be well-formed.

Could we please, have a copy of the library, on mavenCentral? We are having problems with this library more often now, specifically with the availability of the website, we are thinking of forking and publishing it locally somewhere, or even moving to ML kit from google.

hi, are you copied library or find another path for solve?

@Separd-ui
Copy link

Any updates on this?

@Divinkas
Copy link

Divinkas commented Aug 1, 2023

Any updates on this?

I created .aar from https://github.com/dbala2/PayCards_Android/tree/master and implemented that as a local library

@Separd-ui
Copy link

I've created a fork and published It to jitpack

@SimpleSmiki
Copy link

Thanks for the public service, @Separd-ui!

@IbrahimDisouki
Copy link

Hi @Divinkas
Could you please share the created aar file?

@Divinkas
Copy link

Sure, I sent a link to your mail

@tamimattafi
Copy link
Author

I made a fork as well and published to jitpack.io, since I had problems with @Separd-ui's version
Here's the repo: https://github.com/tamimattafi/pay-cards-android
You can check the README for installation steps

@Arifmmmdov
Copy link

Sure, I sent a link to your mail

@Divinkas
Can you please send it to me too?

@Divinkas
Copy link

Sure, I sent a link to your mail

@Divinkas Can you please send it to me too?

https://drive.google.com/drive/folders/1pBYmYnLYgGf3aYmvCuayvaGu7fKmMjsH?usp=sharing

@Arifmmmdov
Copy link

Arifmmmdov commented Sep 21, 2023 via email

@MohammedHassouna
Copy link

I made a fork as well and published to jitpack.io, since I had problems with @Separd-ui's version Here's the repo: https://github.com/tamimattafi/pay-cards-android You can check the README for installation steps

@tamimattafi Why I get this error

error: cannot access ScanCardIntent
import cards.pay.paycardsrecognizer.sdk.ScanCardIntent;
^
bad class file: /Users/m/.gradle/caches/transforms-3/538c9e97dd85a3c2ece7483b0cf2dd04/transformed/jetified-pay-cards-android-1.0.0-api.jar(/cards/pay/paycardsrecognizer/sdk/ScanCardIntent.class)
class file has wrong version 61.0, should be 56.0
Please remove or make sure it appears in the correct subdirectory of the classpath.

@tamimattafi
Copy link
Author

@MohammedHassouna It seems like an issue with java version on your machine, try changing to java8, 11 or 17 and see what works for you.

@MohammedHassouna
Copy link

hat works for you

@tamimattafi can you guide me how to change the java version to 17

@tamimattafi
Copy link
Author

@tamimattafi can you guide me how to change the java version to 17

@MohammedHassouna https://stackoverflow.com/a/30631386/9005383

@MohammedHassouna
Copy link

MohammedHassouna commented Jun 6, 2024

https://stackoverflow.com/a/30631386/9005383

@tamimattafi Thank you, but I get this error after change to Java 17

Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find cards.pay:paycardsrecognizer:1.1.0.

Screen Shot 2024-06-06 at 10 06 45 AM

@tamimattafi
Copy link
Author

tamimattafi commented Jun 6, 2024

https://stackoverflow.com/a/30631386/9005383

@tamimattafi Thank you, but I get this error after change to Java 17

Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find cards.pay:paycardsrecognizer:1.1.0.

Screen Shot 2024-06-06 at 10 06 45 AM

@MohammedHassouna You seem to be using another version, and not from my ReadMe https://github.com/tamimattafi/pay-cards-android

Please use the correct implementation in your gradle and java 17.

com.github.tamimattafi:pay-cards-android:1.0.0

And don't forget to add Jitpack io to your repositories as shown in the ReadMe above.

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

7 participants