Using a java library in Android Studio -


i want use this java library in android studio project. it's java library, not android library. how import java library android studio project can use in android app?

add .jar app/libs directory.

you should have in build.gradle file, if not you'll need add it:

dependencies {     compile filetree(dir: 'libs', include: ['*.jar']) } 

Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -