- Download Patio project.
- Unzip
- Import module
- Select folder Patio-master/Patio
- Finish
- Edit build.gradle file (Patio one, not your project one)
-
Change the follow line to the same as your project build.gradle file
compileSdkVersion 21 buildToolsVersion "21.1.2"
-
Comment the follow line in Patio gradle file
applicationId "com.andressantibanez.android.patio"
-
Go to File > Project Structure > Dependences
- Click on the (left|plus|add) button on the left bottom
- Select module dependence
- Find Patio in it.
- Now you'r done to use Patio
http://stackoverflow.com/questions/29800449/how-to-import-patio-library-in-my-project