I know that android audio was fixed beginning from v3.4.0-alpha4
So, when trying it , i get this exception :
2021-03-31 16:53:18.198 30426-30466/com.scrappers.dbcodecamp E/AndroidRuntime: FATAL EXCEPTION: GLThread 6188
Process: com.scrappers.dbcodecamp, PID: 30426
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.scrappers.dbcodecamp-EmOcQPIhj433eC520rkAjQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.scrappers.dbcodecamp-EmOcQPIhj433eC520rkAjQ==/lib/arm64, /data/app/com.scrappers.dbcodecamp-EmOcQPIhj433eC520rkAjQ==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn't find "libdecodejme.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1012)
at java.lang.System.loadLibrary(System.java:1669)
at com.jme3.texture.plugins.AndroidNativeImageLoader.<clinit>(AndroidNativeImageLoader.java:23)
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:453)
at java.lang.Class.forName(Class.java:378)
at com.jme3.asset.AssetConfig.acquireClass(AssetConfig.java:62)
at com.jme3.asset.AssetConfig.loadText(AssetConfig.java:87)
at com.jme3.asset.DesktopAssetManager.loadConfigFile(DesktopAssetManager.java:96)
at com.jme3.asset.DesktopAssetManager.<init>(DesktopAssetManager.java:89)
at com.jme3.system.JmeSystemDelegate.newAssetManager(JmeSystemDelegate.java:125)
at com.jme3.system.JmeSystem.newAssetManager(JmeSystem.java:139)
at com.jme3.app.LegacyApplication.initAssetManager(LegacyApplication.java:220)
at com.jme3.app.LegacyApplication.initialize(LegacyApplication.java:618)
at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:196)
at com.scrappers.superiorExtendedEngine.jmeSurfaceView.JmeSurfaceView.lambda$initialize$0$JmeSurfaceView(JmeSurfaceView.java:135)
at com.scrappers.superiorExtendedEngine.jmeSurfaceView.-$$Lambda$JmeSurfaceView$Nji4br6xxw318E8h0EujLDeMC_U.run(Unknown Source:2)
at com.jme3.app.LegacyApplication$RunnableWrapper.call(LegacyApplication.java:822)
at com.jme3.app.AppTask.invoke(AppTask.java:147)
at com.jme3.app.LegacyApplication.runQueuedTasks(LegacyApplication.java:733)
at com.jme3.app.LegacyApplication.update(LegacyApplication.java:748)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:245)
at com.scrappers.superiorExtendedEngine.jmeSurfaceView.JmeSurfaceView.update(JmeSurfaceView.java:155)
at com.jme3.system.android.OGLESContext.onDrawFrame(OGLESContext.java:350)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1571)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
2021-03-31 16:53:18.198 30426-30466/com.scrappers.dbcodecamp I/System.out: Exception thrown in Thread[GLThread 6188,5,main]
…Notice : this exception isn’t related by any means to the audio , it means that the android native object file that wraps the native module package isn’t found …it’s the same as :
Hmm, the jme3-android-native.jar that is uploaded to the Maven central repo is empty and does not contain the lib directory. That’s why it can not find the natives.
Seems something is broken while migrating from Bintray to Maven central.
That’s true though , it doesn’t include the native module ‘decodejme’ , it just has only a META-INF folder , but the jar file isn’t actually corrupted.
Idk , you should probably ask @Darkchaos to how to reproduce it , so we could have probably a good idea of its root cause , but i think this problem (module not found) wouldn’t have too much causes , it may be a network cause (like : libraries get corrupted while fetching from the central repo).