Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load system libaacdecoder.so library on Marshmallow Android version. #13

Open
xjurcak opened this issue Jan 18, 2016 · 9 comments

Comments

@xjurcak
Copy link

xjurcak commented Jan 18, 2016

Hello, we using your lib to play mp3 streams. We have a problem with loading of native libraries (see stack trace below) on Marshmallow+. Library works fine on older android versions.

java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/sk.mofa.radio.jemne2/lib/arm/libaacdecoder.so: has text relocations
at java.lang.Runtime.loadLibrary(Runtime.java:372)
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.(AACPlayer.java:130)
at com.spoledge.aacdecoder.MultiPlayer.(MultiPlayer.java:81)
at co.mobiwise.library.radio.RadioPlayerService.getPlayer(RadioPlayerService.java:385)
at co.mobiwise.library.radio.RadioPlayerService.onCreate(RadioPlayerService.java:212)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2877)
at android.app.ActivityThread.-wrap4(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1427)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

@carmelo-ruota
Copy link

Can anyone help me whit this problem? I can't set targetSdk to 22 instead 23 (as discussed on issue #18 ).
I also found this fork that seems to resolve this issue.
https://github.com/tarigo/aacdecoder-android

@Vivekban
Copy link

the compiled files which are compatible for android M
armeabi / libaacdecoder.so
armeabi-v7a / libaacdecoder.so
can be found here
[(https://mega.nz/#!EQIVTLIL!mwwakCztR5yd_VjAjS7TJ0kCKO3hrH5mqFkcth9SLc0)]

for more details look out this thread
[https://github.com/vbartacek/aacdecoder-android/issues/76]

mark-dlc added a commit to mark-dlc/RadioPlayerService that referenced this issue Jul 6, 2016
@JorgeBazarte
Copy link

When I add the .jar and src/* files I get the next error:

Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/spoledge/aacdecoder/AACPlayer.class

@ghost
Copy link

ghost commented Apr 26, 2017

How to Solve this issue using https://mega.nz/#!EQIVTLIL!mwwakCztR5yd_VjAjS7TJ0kCKO3hrH5mqFkcth9SLc0

link kindly tell in details

@Sarun1001
Copy link

@ZulqurnainSDSOL Please fix the link

@ghost
Copy link

ghost commented Oct 30, 2017

@Sarun1001 working fine on my side , try changing browser

@Sarun1001
Copy link

@ZulqurnainSDSOL Hi buddy, thanks for the reply.
But it's still not working on both chrome and firefox
" An error occurred while loading MEGA.

The file "lang/en_1bb81c5261477a101e5304b9c9b53e3c9863c07896fdd1f8d428a0678c2625c0.json" could not be loaded.

Please try again later. We apologize for the inconvenience.

If the problem persists, please try disabling all third-party browser extensions, update your browser and MEGA browser extension to the latest version and reload the page. If that does not help, contact support@mega.nz

BrowserID: mozilla/5.0 (windows nt 6.3; win64; x64; rv:56.0) gecko/20100101 firefox/56.0"
this is what i get.
Can you please post that solution here.

@ghost
Copy link

ghost commented Oct 30, 2017

I've uploaded on github now , download it
acc_decoder_M.zip

@Sarun1001
Copy link

@ZulqurnainSDSOL Thanks a lot bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants