adaptyteam / AdaptySDK-Flutter

SDK for growing mobile in-app purchases
https://docs.adapty.io/docs/quickstart
MIT License
96 stars 17 forks source link

CD fails on codemagic android build. But no problem on local android build #72

Closed UlasKasim-dusyeri closed 1 year ago

UlasKasim-dusyeri commented 1 year ago

The error we got there is

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeProdReleaseResources'.
> Could not resolve all files for configuration ':app:prodReleaseRuntimeClasspath'.
   > Could not find com.github.adaptyteam:AdaptySDK-Android:1.11.0.
     Searched in the following locations:
       - file:/Users/builder/clone/android/unityLibrary/libs/AdaptySDK-Android-1.11.0.jar
       - file:/Users/builder/clone/android/unityLibrary/libs/AdaptySDK-Android.jar
       - https://dl.google.com/dl/android/maven2/com/github/adaptyteam/AdaptySDK-Android/1.11.0/AdaptySDK-Android-1.11.0.pom
       - https://jcenter.bintray.com/com/github/adaptyteam/AdaptySDK-Android/1.11.0/AdaptySDK-Android-1.11.0.pom
       - https://maven.google.com/com/github/adaptyteam/AdaptySDK-Android/1.11.0/AdaptySDK-Android-1.11.0.pom
       - https://developer.huawei.com/repo/com/github/adaptyteam/AdaptySDK-Android/1.11.0/AdaptySDK-Android-1.11.0.pom
       - https://storage.googleapis.com/download.flutter.io/com/github/adaptyteam/AdaptySDK-Android/1.11.0/AdaptySDK-Android-1.11.0.pom
       - https://jitpack.io/com/github/adaptyteam/AdaptySDK-Android/1.11.0/AdaptySDK-Android-1.11.0.pom
       - https://repo.maven.apache.org/maven2/com/github/adaptyteam/AdaptySDK-Android/1.11.0/AdaptySDK-Android-1.11.0.pom
       - file:/Users/builder/clone/android/app/libs/AdaptySDK-Android-1.11.0.jar
       - file:/Users/builder/clone/android/app/libs/AdaptySDK-Android.jar
     Required by:
         project :app > project :adapty_flutter

Like I said in the title, no problem on an actual computer with an android build. Only CD fails

vladd-g commented 1 year ago

Hi @UlasKasim-dusyeri! Sorry, jitpack.io was down, but they say it's fixed now. Could you please try again?

UlasKasim-dusyeri commented 1 year ago

Looks like issue is fixed. Thank you