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 - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -