Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Error when building app: Could not find com.ad4screen.sdk:A4SSDK:3.7.2 #11

Open
KasperOlesenMagnetix opened this issue Aug 15, 2018 · 1 comment

Comments

@KasperOlesenMagnetix
Copy link

OS: Android only (iOS version builds without errors)

I am building/distributing my android app through microsofts appcenter.
About 3 weeks ago I executed a build which worked fine and without any errors. I now try to execute a new build, without any change to the dependencies or their usage, but now it throws an error each time and I am unable to complete the build.

The dependencies are located in app/build.gradle:

    compile'com.ad4screen.sdk:A4SSDK:3.7.2'
    compile('com.ad4screen.sdk:plugin-play-services:3.1.1')

And this doesn't happen when I build locally through android studio

Error from buildserver:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
   > Could not find com.ad4screen.sdk:A4SSDK:3.7.2.
     Required by:
         project :app
   > Could not find com.ad4screen.sdk:A4SSDK:3.7.2.
     Required by:
         project :app > com.ad4screen.sdk:plugin-play-services:3.1.1 > com.ad4screen.sdk:plugin-play-services-advertiserid:3.1.1
         project :app > com.ad4screen.sdk:plugin-play-services:3.1.1 > com.ad4screen.sdk:plugin-play-services-geofence:3.1.1
         project :app > com.ad4screen.sdk:plugin-play-services:3.1.1 > com.ad4screen.sdk:plugin-play-services-location:3.1.1
         project :app > com.ad4screen.sdk:plugin-play-services:3.1.1 > com.ad4screen.sdk:plugin-play-services-push:3.1.1
         project :app > com.ad4screen.sdk:plugin-play-services:3.1.1 > com.ad4screen.sdk:plugin-play-services-advertiserid:3.1.1 > com.ad4screen.sdk:plugin-play-services-base:3.1.1

I am a bit lost on this because it seems to be unable to find the dependency even though it is located in the app/build.gradle file, and since building works locally and has worked through the appcenter in the recent past.

@KasperOlesenMagnetix
Copy link
Author

After reading the changelogs of your SDK, it seems that version 3.7.2 has been removed completely and 3.8.0 should be used instead.

Feel free to close the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant