The current device setup lib should be OK even without the jitpack reference, unless the maintainer has messed with his jcenter distribution again… In either case, that lib has become more trouble than it’s worth; I’m going to remove it and do another release. Thanks for the heads up!
This issue occurs when I use compile ‘io.particle:devicesetup:0.3.2’ in my modules build.gradle Error:Failed to resolve: com.afollestad:material-dialogs:0.7.5.1
I’m going to be releasing an update to the SDK in the next few days which resolves this permanently by simply removing that library. In the meantime, you can add the jitpack.io repo to your build.gradle as mankyd described.
I followed what mankyd suggested and did get that same warning, but then when ./gradlew assembleDebug from my terminal on Ubuntu I’m not able to compile my app with the setup library. I’m getting:
:app:prepareDebugDependencies
Module 'com.afollestad:material-dialogs:0.7.9.1' depends on one or more Android Libraries but is a jar
:app:prepareDebugDependencies FAILED
My allprojects section of the project level gradle file looks like:
Sorry to hear you were having trouble with this. Updating to the 0.3.1 release of the cloud SDK (and the 0.3.3 release of the device setup lib, if you use that) fixes this issue.