faceterteam / PayCards_Android

Credit card scanning for mobile apps
https://pay.cards/
Other
197 stars 126 forks source link

Upload SDK #41

Open hezi5050 opened 4 years ago

hezi5050 commented 4 years ago

Hi,

I added your lib to my SDK and when I try to add my SDK to project I get this error: Could not find cards.pay:paycardsrecognizer:1.1.0. Searched in the following locations:

Do you know what is the problem?

SaintPatrck commented 4 years ago

Excerpts of your library and consuming app build scripts would help others assess your issue.

It sounds like you're expecting your library to package the PayCards source within the aar, which is not the case. Your easiest (but not suggested) solution would be to declare the paycard dependencies within the consuming application. The long term (and suggested) solution would be to publish your library and pom to a maven repo such as jcenter or a personal artifactory instance so that maven can determine what other dependencies need to be retrieved when a consuming app declares your library as a dependency. You can opt for a local maven repo if the library is not meant to be public.