Search code examples
androidgradlerobospice

How to integrate RoboSpice project to Android studio?


I'm android developer, and recently begin to work with Android Studio. Now i need use library RoboSpice (https://github.com/stephanenicolas/robospice). Explain please, how can i organize "build.gradle" file for using with library? What add to dependencies block?


Solution

  • You can try this steps:

    1. Download library
    2. File import module
    3. Select your library and rename :RoboSpice for example
    4. Go to build.gradle and write.

    build.gradle

    dependencies {
    ......
    compile project(':RoboSpice')
    .....
    }