How to Import JBLAS Library into Android studio

787 views Asked by At

This library downloads in a zip format and extracts to an entire folder structure not a jar file.

https://github.com/mikiobraun/jblas-examples/blob/master/src/CG.java

I needed some help in getting this imported into android studio.

1

There are 1 answers

0
Clive Seebregts On
  1. Download the jblas jar file
  2. Copy the jar file to project/app/libs directory (create libs folder under the application folder if it doesn't exist).
  3. Add the .jar file dependency to your app's build.gradle file:

    dependencies {
      // ... other dependencies
      compile files('libs/jblas-1.2.4.jar')
    }