- if the library is only folder not jar files, make it jar.
- go to c:\program files\java\"version"\bin\
- using cmd, enter java -jar cf "name_of_jar" "target_directory"
- get jar file.
- open android studio, add compile files('libs/your_lib')
- rebuild project until it occur errors.
- put lib to libs directory
- rebuild project
- OMG it works!