D
D
Develop99992019-08-12 10:52:00
Java
Develop9999, 2019-08-12 10:52:00

Fann library integration in android studio, where to find libfann.so files?

I'm trying to integrate the fann library into android studio, but everything is even.
In my project I also use libgdx and because of it I have files:

  • arm64-v8a
  • armeabi
  • armeabi-v7a
  • x86
  • x86-64

In all these files I have: libjnidispath.so - this file for each of the folders. When I run the project, it crashes with an error - java.lang.UnsatisfiedLinkError: Unable to load library 'fann': Native library (android-arm/libfann.so) not found in resource path (.)
Also in gradle I have 2 more lines in the file:
  • implementation group: 'net.java.dev.jna', name: 'jna', version: '4.5.0'
  • implementation group: 'com.googlecode.fannj', name: 'fannj', version: '0.6'

Where can I get these files? Already climbed a bunch of forums, was on their official website, but did not find anything about these files

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Varakosov, 2019-08-12
@thelongrunsmoke

The fact is that jna and fannj are just wrappers. You will have to cross-compile the library itself. You can see an example for dlib .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question