sumup / sumup-android-sdk

Sample App for the SumUp Android SDK
Other
101 stars 29 forks source link

Issue with new version of Android Studio & gradle 6.3 #113

Open zeeshan-abbas opened 4 years ago

zeeshan-abbas commented 4 years ago

Hi, I've been using this library for quite a long time however it stopped building the project after I updated my gradle version to 6.3 which comes with following dependency classpath 'com.android.tools.build:gradle:3.6.2'

ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.sumup:merchant-sdk:3.2.2.

JullianSU commented 4 years ago

Hi @zeeshan-abbas

Thank you or reporting this issue, a ticket has been opened our side, we will get back to you as soon as possible.

Many thanks,

JullianSU commented 4 years ago

Hi @zeeshan-abbas

We tried to reproduce the error but we could not. The following setup has been used:

Gradle v6.3 Android gradle plugin 3.6.3 Android Studio 3.6.3

Does the issue persist? If yes could you please share a sample project where the issue is present. This can be in a branch of our public repository.

Many thanks,

qsdigor commented 4 years ago

Hi, I am new user and I get the same error. I have followed your steps but nothing seems to resolve this issue. Can you try importing your SDK into new project? My setup: Android Studio 3.6.3 Android gradle plugin 3.6.3

zeeshan-abbas commented 4 years ago

Hi @JullianSU, thankyou for your reply. It doesn't work even after I created a new Project. I have pushed the code to a public repo available at https://github.com/zeeshan-abbas/sumup-project

JullianSU commented 4 years ago

Hi @zeeshan-abbas,

After review, it looks like the issue is coming from the wrong URL used. 'https://www.maven.sumup.com/releases' is incorrect. The good link as per the documentation is 'https://maven.sumup.com/releases'

Could you please correct the URL and try again?

Many thanks,

zeeshan-abbas commented 4 years ago

@JullianSU thanks for your reply. however I am getting same error after updating the url as you mentioned. here is the commit for that https://github.com/zeeshan-abbas/sumup-project/commit/4a485ddd1ac3fc57105bb8bfd0fec14836f51cd3

fatehsinghsaini commented 4 years ago

I am also facing the same issue.

-Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.sumup:merchant-sdk:3.2.2. -Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.sumup:merchant-sdk:3.2.2. -Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.sumup:merchant-sdk:3.2.2.

Mike-Lopez commented 4 years ago

Hello Fateh,

Thank you for your email and I do apologise for the inconvenience caused.

I will make a ticket for our developers to take a look into the issue and come back to you with an update on a solution.

If you have any other questions, please let me know and I will get back to you as soon as possible.

Best,

Mike

On Tue, Jul 7, 2020 at 12:07 PM Fateh Singh notifications@github.com wrote:

I am also facing the same issue.

-Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.sumup:merchant-sdk:3.2.2. -Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.sumup:merchant-sdk:3.2.2. -Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.sumup:merchant-sdk:3.2.2.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sumup/sumup-android-sdk/issues/113#issuecomment-654746974, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYALAQEF4KXMGMTLHNTOY3R2LXWFANCNFSM4MLYXG4Q .

fatehsinghsaini commented 3 years ago

Hello Fateh, Thank you for your email and I do apologise for the inconvenience caused. I will make a ticket for our developers to take a look into the issue and come back to you with an update on a solution. If you have any other questions, please let me know and I will get back to you as soon as possible. Best, Mike On Tue, Jul 7, 2020 at 12:07 PM Fateh Singh @.> wrote: I am also facing the same issue. -Unable to resolve dependency for @.AndroidTest/compileClasspath': Could not resolve com.sumup:merchant-sdk:3.2.2. -Unable to resolve dependency for @.UnitTest/compileClasspath': Could not resolve com.sumup:merchant-sdk:3.2.2. -Unable to resolve dependency for @./compileClasspath': Could not resolve com.sumup:merchant-sdk:3.2.2. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#113 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYALAQEF4KXMGMTLHNTOY3R2LXWFANCNFSM4MLYXG4Q .

Following issue was solved. thank you for your reply.

legolas108 commented 3 years ago

Hello

Facing same issue now with the latest sumup-android-sdk 3.3.1. Merely opening the sample app in Android Studio 4.1.3 and trying to build results in failure:

Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
   > Could not resolve com.sumup:merchant-sdk:3.3.1.
     Required by:
         project :app
      > Skipped due to earlier error

Any help would be greatly appreciated! Fateh, may I ask how you resolved the issue?

Thanks much in advance Ole

legolas108 commented 3 years ago

OK, strange thing, but it appears our VPN connection to the Internet is picky about what it allows and what not. Compiles after turning it off. So, never mind, thanks!

30zeta10 commented 3 years ago

Hi, we've also got the issue Could not resolve com.sumup:merchant-sdk:3.3.1 on the android SumUp SDK. We've got all the necessary requirements from the doc, but we are not able to update our version in build.gradle.