26F-Studio / fmod-libs

0 stars 0 forks source link

[ANDROID] Require to load ``fmod.jar`` in Java before loading in Lua or C #2

Open SweetSea-ButImNotSweet opened 4 days ago

SweetSea-ButImNotSweet commented 4 days ago

From the log on my phone: 06-28 23:31:55.694 3115 3146 E fmod: FMOD_JNI_GetEnv: JNI_OnLoad has not run, should have occurred during System.LoadLibrary.

It means that we have to load that file through System.LoadLibrary (a Java call) before we can create a "studio"

Documentation: https://www.fmod.com/docs/2.01/api/platforms-android.html#java

SweetSea-ButImNotSweet commented 4 days ago

Maybe helpful: https://github.com/bartbes/jniwrap