如何将JBLAS Library导入Android studio

时间:2022-10-18 02:46:04

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

该库以zip格式下载并提取到整个文件夹结构而不是jar文件。

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

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

我需要一些帮助才能将其导入android studio。

1 个解决方案

#1


1  

  1. Download the jblas jar file
  2. 下载jblas jar文件

  3. Copy the jar file to project/app/libs directory (create libs folder under the application folder if it doesn't exist).
  4. 将jar文件复制到project / app / libs目录(如果不存在,则在应用程序文件夹下创建libs文件夹)。

  5. Add the .jar file dependency to your app's build.gradle file:

    将.jar文件依赖项添加到应用程序的build.gradle文件中:

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

#1


1  

  1. Download the jblas jar file
  2. 下载jblas jar文件

  3. Copy the jar file to project/app/libs directory (create libs folder under the application folder if it doesn't exist).
  4. 将jar文件复制到project / app / libs目录(如果不存在,则在应用程序文件夹下创建libs文件夹)。

  5. Add the .jar file dependency to your app's build.gradle file:

    将.jar文件依赖项添加到应用程序的build.gradle文件中:

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