datatrans / android-sample-app

sample android app which integrates the datatrans library
https://docs.datatrans.ch/docs/integrations-mobile-sdk
0 stars 13 forks source link

./gradlew assemble fails due to material-dialogs #6

Closed nroi closed 5 years ago

nroi commented 5 years ago

Hi,

the project currently fails to build (at least for me) due to the material-dialogs dependency:

$ ./gradlew assemble

WARNING: Module 'com.afollestad:material-dialogs:0.7.8.1' depends on one or more Android Libraries but is a jar

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Artifact 'material-dialogs.jar (com.afollestad:material-dialogs:0.7.8.1)' not found.
  Searched in the following locations:
      https://jcenter.bintray.com/com/afollestad/material-dialogs/0.7.8.1/material-dialogs-0.7.8.1.jar

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Some advice on how to fix this (or an updated version with a more recent version of material-dialogs) would be greatly appreciated. Thanks!

dmengelt commented 5 years ago

hi @nroi I fixed the build and also updated to latest android library 3.1.3. ./gradlew assemble works again.