DH 2.0.1 on pojav: Linux-android aarch64 SQL in the mod is not being loaded, which results in crash

So idk when dh devs added android aarch64 libs, but the issue is that they are not loaded, which results in a crash. A temp fix for that is to copy the lib from the mod and put it in folders where pojav sets the "LD_LIBRARY_PATH" env option to.
LD_LIBRARY_PATH=
/data/user/0/net.kdt.pojavlaunch.sol/runtimes/jre21-arm64-20240309-release.tar.xz.tar.xz/lib/jli
/data/user/0/net.kdt.pojavlaunch.sol/runtimes/jre21-arm64-20240309-release.tar.xz.tar.xz/lib
/system/lib64
/vendor/lib64
/vendor/lib64/hw
/data/app/~~808Cju1juMkQmpLVuz9uFw==/net.kdt.pojavlaunch.sol-Xl-xgA6ad_Kbpj7npB0vNQ==/lib/arm64
LD_LIBRARY_PATH=
/data/user/0/net.kdt.pojavlaunch.sol/runtimes/jre21-arm64-20240309-release.tar.xz.tar.xz/lib/jli
/data/user/0/net.kdt.pojavlaunch.sol/runtimes/jre21-arm64-20240309-release.tar.xz.tar.xz/lib
/system/lib64
/vendor/lib64
/vendor/lib64/hw
/data/app/~~808Cju1juMkQmpLVuz9uFw==/net.kdt.pojavlaunch.sol-Xl-xgA6ad_Kbpj7npB0vNQ==/lib/arm64
If u don't have root access, u would have to add the lib to the java runtimes /lib folder and then add the modified java to pojav.
13 Replies
Sa1672ndo
Sa1672ndo2mo ago
No description
Sa1672ndo
Sa1672ndo2mo ago
Bruh
No description
Sa1672ndo
Sa1672ndo2mo ago
At least it runs at decent fps
No description
Sa1672ndo
Sa1672ndo2mo ago
No description
yukira2018
yukira20182mo ago
No description
Sa1672ndo
Sa1672ndo2mo ago
Opengl is not an issue The libraries are Check the issues page and look at the log
Yeshi
Yeshi2mo ago
this has been a known issue ever since the switch to sqlite current devs probably won't fix this as demand is very low. if you know java, you could always fix it yourself and submit an MR
Sa1672ndo
Sa1672ndo2mo ago
But when it was added, there were no android libs, now there are They are in the mod It's just not properly configured to load on android So the mod doesn't use them If u extract the lib and put it in the system/lib folder of the phone, the mod will work
Yeshi
Yeshi2mo ago
even then it's the same story unfortunately. if you have the means, as i mentioned, you could fix it yourself and submit the fix as an MR if anything i'll bring it to james' attention and this could be added to https://discord.com/channels/881614130614767666/1035937626944962641
Sa1672ndo
Sa1672ndo2mo ago
Ight
Sa1672ndo
Sa1672ndo2mo ago
I have added the libsqlitejdbc.so to the jre itself, so u won't need to use root permission to get dh running
Sa1672ndo
Sa1672ndo2mo ago
But tbh, requiring to use a separate jre just for a single mod is not the best idea