We can find some very good open source libraries for android. I want to know what is the best way to integrate them to our own projects in Android studio. Here are some basi
gson-2.2.4.jar) into the libs foldercompile files('libs/gson-2.2.4.jar') is in your build.gradle filegradlew clean. I'm on Mac OS X, the command might be different on your system This series of steps was taken from Android Studio: Add jar as library? and is not my original answer. I am posting them here, again, because your question was the third in search results on Google when looking up this same topic. Hence, copying.
All credits to the one who wrote the steps.