I'm trying to use the ShowcaseView project in my project on Android Studio but can't get the project to build.
Showcase link: https://github.com/amlcurran/ShowcaseView
I have included the following:
In app/build.gradle-
compile 'com.github.amlcurran.showcaseview:library:5.4.1'
In build.gradle-
repositories
{
mavenCentral()
}
I get the following error:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
> Could not resolve com.github.amlcurran.showcaseview:library:5.4.1.
Required by:
BLEDemo:app:unspecified
> Could not resolve com.github.amlcurran.showcaseview:library:5.4.1.
> Could not get resource 'https://jcenter.bintray.com/com/github/amlcurran/showcaseview/library/5.4.1/library-5.4.1.pom'.
> Could not GET 'https://jcenter.bintray.com/com/github/amlcurran/showcaseview/library/5.4.1/library-5.4.1.pom'.
> Connection to https://jcenter.bintray.com refused
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Ive tried several suggestions online but couldn't find a solution to this.
I have also tried to import the library an include it in settings.gradle and get an error.
Can some please help me.
Thank you in advance.