Create a directory called lib in the app directory. Then put your jar file. Then make sure the line is in the dependencies build.gradle section
compile fileTree(dir: 'libs', include: ['*.jar'])
Sometimes I just put the jar in the lib folder and right-click on it and select Add as library .
source share