I recently just added ShowcaseView
to an Android Studio
project, and I hope this can push you in the correct direction.
My file structure looks something like this:
- project
- app
- build.gradle
- libraries
- showcase
- build.gradle
- settings.gradle
- app
Add the files from the library folder of
ShowcaseView
to the showcase directory in the libraries directory.Add the showcase directory as a module to your project.
Change your app's
build.gradle
file to include:dependencies { compile project(':libraries:showcase') }
Change your
settings.gradle
to include:include ':libraries:showcase'
Sync Project with gradle files
This StackOverflow answer goes over how to do this is much more detail if you have any troubles, but this method works for any library.