BucketHeadP65
BucketHeadP65
@xsyzka Welp it might be too late: The root cause of the error is that the variable device is not defined :P . But even if you define it you...
> Thank you very much for your advice! You are welcome!
I have the same issue. Trying to port it in Android studio. Did you manage to get a solution?
> I git cloned the repo and ran the `SentencePieceProcessorTest`. It throws the error > > ``` > java.lang.UnsatisfiedLinkError: File /libsentencepiece_jni.dylib was not found inside JAR. > > at com.github.google.sentencepiece.SentencePieceJNI.(SentencePieceJNI.java:11)...
@junA2Z Hi, I finally managed to get the .so for arm64-v8a architecture and created an .aar file from this. But I get the same error as you now.
@junA2Z Finally, managed to make it run. Just delete NativeLibLoader.java and it's dependency from SentencePieceJNI.java