Closed MohitMaliFtechiz closed 1 year ago
@MohitMaliFtechiz This is a regression, please fix! Please also publish a list of all libzim and libkiwix API which are not available here.
@mgautierfr, Why did the wrapper failing to find the implementation of JNIICU.setDataDirectory
, since we are compiling the wrapper correctly(we have this method in tools.h, kiwixicu.cpp) so it should find the implementation of this method. Are we missing something on libzim
or java-libkiwix
side?
@MohitMaliFtechiz I have found the problem. Can you test #48 on your side ?
hi @mgautierfr, Thanks for your quick fix, now it is finding the implantation of this JNIICU.setDataDirectory
as well as now it is not crashing while starting the server and search functionality which was reported in this issue.
While refactoring the
kiwix-android
to compile withjava-libkiwix
wrapper we faced theno implementation found
error forJNIICU.setDataDirectory()
method of the wrapper.Logs:
Since this method is not set on the Android side we have commented this code to test the other parts of the wrapper in Android. It is crashing on the
server
andsearch
functionality.For server the logs:
And for search, while we are using
getEstimatedMatches()
function of theSearch
class it crashes.Logs:
I suspect that it is crashing on these functionalities because we have not set
JNIICU.setDataDirectory
on the Android side.