<div dir="ltr">Ok 10 hours of work is enough for a day. I'll be back tomorrow. <div><br></div><div>And from what I see we actually need the files inside </div><div>/mnt/expand/cab01563-bcca-48fa-a0bf-0fbddaf9b192/app/org.xbmc.kodi19DV-<br>BHAaVSj7u8lhvDk_OSQttQ==/<br></div><div><br></div><div>looking clearly now it's no == the path actually has 2 =</div><div><br></div><div>I already know how to pack stuff using Kodi make apk, I'm adding here:</div><div>build/tools/android/packaging/xbmc/build/intermediates/stripped_native_libs/debugUnsigned/out/lib/arm64-v8a/<br></div><div><br></div><div>and when compiling those are showing up.. but for some reason.. the *so.6 isn't going.. probably because it is a link...</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 23, 2021 at 7:37 PM Petri Hintukainen <<a href="mailto:phintuka@users.sourceforge.net">phintuka@users.sourceforge.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">la, 2021-01-23 kello 23:38 +0200, Shaya Potter kirjoitti:<br>
> On Sat, Jan 23, 2021, 11:32 PM Petri Hintukainen <<br>
> <a href="mailto:phintuka@users.sourceforge.net" target="_blank">phintuka@users.sourceforge.net</a>> wrote:<br>
> > la, 2021-01-23 kello 17:43 -0300, Vitor Dall'Acqua kirjoitti:<br>
> > > Well, I'm no expert but when I tried to add it along with other<br>
> > > libraries it ended up in the same folder along with all other<br>
> > libs.<br>
> > <br>
> > Then, it should find libjvm.so from there without any path ? If<br>
> > JAVA_HOME is unset, first probed library is "libjvm.so" without any<br>
> > path added to it.<br>
> > <br>
> > If not, you could try adding following snippet to<br>
> > bdj.c:_load_jvm(),<br>
> > before "java_home = getenv("JAVA_HOME")" line:<br>
> > <br>
> > handle = dl_dlopen("/lib/arm64/libjvm.so", NULL);<br>
> > if (handle) {<br>
> > return handle;<br>
> > }<br>
> > <br>
> > But JVM probably won't find other files it needs if those are<br>
> > inside<br>
> > the apk.<br>
> <br>
> I was arguing that the whole jvm needs to be in the apk, see the<br>
> phoneme apk I linked to. It includes cvm in /assets/<br>
<br>
Yes, that seems to allow keeping the directory structure. libjvm.so<br>
probably looks for the other files using paths relative to it's<br>
location. But how are files in assets accessed? If those are not<br>
accessible from "normal" filesystem it doesn't work.<br>
<br>
Can we use something similar to this:<br>
/mnt/expand/cab01563-bcca-48fa-a0bf-0fbddaf9b192/app/org.xbmc.kodi19DV-<br>
BHAaVSj7u8lhvDk_OSQttQ==/lib/arm64/libkodi.so<br>
<br>
If not, those files need to be extracted somewhere in the filesystem.<br>
<br>
> _______________________________________________<br>
> libbluray-devel mailing list<br>
> <a href="mailto:libbluray-devel@videolan.org" target="_blank">libbluray-devel@videolan.org</a><br>
> <a href="https://mailman.videolan.org/listinfo/libbluray-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/libbluray-devel</a><br>
<br>
<br>
_______________________________________________<br>
libbluray-devel mailing list<br>
<a href="mailto:libbluray-devel@videolan.org" target="_blank">libbluray-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/libbluray-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/libbluray-devel</a><br>
</blockquote></div>