i am new to android studio and wants to include boofcv library in my project. I am using Android studio for development. I have done the following steps in order to include the library and is stuck with build.gradle configuration.
Step 1: Have downloaded per-compiled jar files from http://boofcv.org/index.php?title=Download:BoofCV
Step 2: Have updated settings.gradle as
include ':app'
include ':libs:boofcv-libs'
Step 3: My build.gradle looks like:
apply plugin: 'com.android.application'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
}
}
allprojects {
repositories {
jcenter()
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}
BoofCV is on maven central so you could just do the following too:
In the next it will be even easier if you just want everything: