iammert / RadioPlayerService

Android service library which uses AAC Player. Ready to use Radio Player Service.
254 stars 91 forks source link

Problem with native Libaries , libaccdecoder.so in Android 6.0+ #55

Open ghost opened 7 years ago

ghost commented 7 years ago

I am using this dependency compile 'com.github.iammert:RadioPlayerService:2.0' but and my build gradle have minSdkVersion 17 targetSdkVersion 25 .

While using this library 2 errors:

In marshmallow: libaacdecoder.so: has text relocations In Naugat: Problem with native libraries , libaccdecoder.so , kindly check blah blah

Kindly Fix this issue , in library or give proper details for fixing this issue..

willsazon commented 7 years ago

Hello. I was able to solve this problem using the lib of this link and the solution of that link.

mitab86 commented 6 years ago

@willsazon I cannot find jar accdecoder jar file in that library. Can you please guide me to use this library?? I am stuck in the middle

willsazon commented 6 years ago

@mitab86 The libs that worked are in this link, however it is necessary to create a project from scratch and import the classes of the RadioPlayerService and not only use it as a library.

https://mega.nz/#!EQIVTLIL!mwwakCztR5yd_VjAjS7TJ0kCKO3hrH5mqFkcth9SLc0

mitab86 commented 6 years ago

@willsazon Thanks for the quick response. WIth new library integration in RadioPlayerService also I am facing crash.Do you mean to only change libs part from mega.nz or do I have to some changes in my code? I am getting "libaacdecoder.so: has text relocations". Any help will be helpful Edit: I am successfully able to solve the issue with the help of those files. Thanks a lot

willsazon commented 6 years ago

@mitab86 Glad I could help.