Hello,
i use aacdecoder-android-0.8.jar to play stream audio from url, but some times i have this error:
i use aacdecoder-android-0.8.jar to play stream audio from url, but some times i have this error:
B4X:
--------- beginning of crash
--------- beginning of main
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance(Native Method)
at anywheresoftware.b4j.object.JavaObject.InitializeNewInstance(JavaObject.java:90)
at radiofm.com.srvplayer._service_create(srvplayer.java:356)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:169)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:153)
at radiofm.com.srvplayer.onCreate(srvplayer.java:54)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3095)
at android.app.ActivityThread.-wrap4(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1579)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5777)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/mnt/expand/f6d7d8cb-7d82-4aad-9c60-ad54a37f613e/app/radiofm.com-1/base.apk"],nativeLibraryDirectories=mnt/expand/f6d7d8cb-7d82-4aad-9c60-ad54a37f613e/app/radiofm.com-1/lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libaacdecoder.so"
at java.lang.Runtime.loadLibrary(Runtime.java:367)
at java.lang.System.loadLibrary(System.java:1076)
at com.spoledge.aacdecoder.Decoder.loadLibrary(Decoder.java:187)
at com.spoledge.aacdecoder.Decoder.create(Decoder.java:221)
at com.spoledge.aacdecoder.Decoder.create(Decoder.java:198)
at com.spoledge.aacdecoder.AACPlayer.createDecoder(AACPlayer.java:508)
at com.spoledge.aacdecoder.MultiPlayer.createDecoder(MultiPlayer.java:91)
at com.spoledge.aacdecoder.AACPlayer.<init>(AACPlayer.java:130)
at com.spoledge.aacdecoder.MultiPlayer.<init>(MultiPlayer.java:81)
at com.spoledge.aacdecoder.MultiPlayer.<init>(MultiPlayer.java:68)
... 16 more
Last edited: