[BRLTTY] Brlapi on Android
Peter Lecky
peter.lecky at stopka.sk
Thu Mar 28 09:07:44 EDT 2024
Good afternoon to all,
I am trying to use brlapi library for android in the project. I found
this page:
https://brltty.app/android.html
There is a older build of brlapi library which i am trying to use. I
used repository mentioned on that page and successfully compiled my
project, but my app crashes during initialization of the library with
this error:
> AndroidRuntime: FATAL EXCEPTION: main
> AndroidRuntime: Process: xxx.xxx.xxx, PID: 29870
> AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed:
> library "libbrlapi.so.0.8" not found: needed by
> /data/app/~~YB-_ApEJ6BKmHFGYgcO1CQ==/xxx.xxx.xxx-YTdxhFskgX0ZhCxZbEwOhw==/base.apk!/lib/arm64-v8a/libbrlapi_java.so
> in namespace clns-5
> AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:1082)
> AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:1003)
It seems that libbrlapi_java library tryes to load libbrlapi.so with
version suffix (initialization crashes because file "libbrlapi.so.0.8"
is missing) but compiled apk contains libbrlapi.so without version suffix.
I tryed to fetch all required files and added libs manually. Tryed to
rename brlapi.so to brlapi.so.0.8, but it seems that the package manager
does not support fformats other than something.so.
Can someone help please?
With best and thanks
Peter
--
Peter Lecký Stopka n. o.
More information about the BRLTTY
mailing list