How to add a jar in External Libraries in android studio
original source : https://stackoverflow.com/questions/25660166/how-to-add-a-jar-in-external-libraries-in-android-studio
https://stackoverflow.com/a/35241990
STEPS
First switch your folder structure from Android to Project.

Now search for the libs folder inside app – build folder.

Once you have pasted the .jar file inside libs folder. Right click on the jar file and at end click on Add as library. This will take care of adding compile files(‘libs/library_name.jar’) in build.gradle [You don’t have to manually enter this in your build file].

Now you can start using the library in your project.