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

Build failes with SDK version 4.0.2 #186

Closed
andrekovac opened this issue Jun 24, 2018 · 2 comments
Closed

Build failes with SDK version 4.0.2 #186

andrekovac opened this issue Jun 24, 2018 · 2 comments

Comments

@andrekovac
Copy link

When setting com.kontaktio:sdk:4.0.2 in build.gradle I get the following error while building with gradle (com.kontaktio:sdk:4.0.1 however works!):

Building and installing the app on the device (cd android && ./gradlew installDebug)...

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApk'.
   > A problem occurred configuring project ':react-native-kontaktio'.
      > Could not resolve all dependencies for configuration ':react-native-kontaktio:_debugPublishCopy'.
         > Could not find com.kontaktio:sdk:4.0.2.
           Required by:
               KontaktExample:react-native-kontaktio:unspecified
@sbobowiec
Copy link
Contributor

Did you try to remove gradle cache with following command?
rm -rf $HOME/.gradle/caches/
Also you can try to invalidate cache in Android Studio (File -> Invalida cache/Restart).

@robertbielas
Copy link
Contributor

robertbielas commented Nov 8, 2021

Closing, because this sdk version is no longer supported - additionally, sdk repository moved from Bintray to Maven Central.

Now you need to attach the following dependency to the build.gradle script:
implementation 'io.kontakt.mvn:sdk:5.0.xx'

where xx is the newest version of the sdk. (For the most recent version number see here: https://github.com/kontaktio/kontakt-beacon-admin-sample-app/blob/master/sample-app/build.gradle)

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

3 participants