iammert / RadioPlayerService

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

Play Store Requires 64bit version of libraries. libaacdecoder.so #74

Open TechMindsYT opened 5 years ago

TechMindsYT commented 5 years ago

After analyzing the APK the 64bit libraries are missing. Seems like Google will make us upload apps with 64 bit libraries aswell as 32bit. Is there a solution for this? I'm not sure how to rebuild libaacdecoder to have 64bit libraries too.

Any help appreciated. Thanks

coanag commented 4 years ago

Also looking for a solution for this.

Arrenign commented 4 years ago

go here download the libs file with the 64 bit and replace in ur project https://github.com/goldblade/cordova-plugin-aacdecoder-android/tree/master/src/android/libs

dont forget to download the aacdecoder snapshot too. then just replace the files in the radio player service folder and ur done..

colorgold commented 4 years ago

go here download the libs file with the 64 bit and replace in ur project https://github.com/goldblade/cordova-plugin-aacdecoder-android/tree/master/src/android/libs dont forget to download the aacdecoder snapshot too. then just replace the files in the radio player service folder and ur done..

I downloaded the aacdecoder snapshot and replaced the 64 bit files in my project. However, the 64 bit files don't seem to work. If I add this to my project: ndk { abiFilters "armeabi-v7a", "x86", "armeabi", "mips" }

it works, but when I remove this in my app and I try to play a stream, my app crashes. How did you get yours to work?

colorgold commented 4 years ago

https://github.com/iammert/RadioPlayerService/issues/59#issuecomment-346919669

Thanks to the old thread above in which a442509097 commented, I was able to obtain the 64bit files of the library. I created a zipped file with all the libaacdecoder.so and jar files. You can download them using this link:

https://mega.nz/#!btdjBQKA!vUWVT-8HujxSmrTwvZ-j0ibcesIuwgjLdA4Qm8Phkvo

I tested the library on both 32bit and 64bit phones and it worked. Replace all you .so files and .jar file with these and you should be good to go.

obdbeats commented 4 years ago

All of you, THANKS!! i don't know if it will work, but is a piece of shining in the darkness :+1: =) THANKS colorgold, Arrenign, coanag and MMSSolutions thankkss!!

ghost commented 4 years ago

#59 (comment)

Thanks to the old thread above in which a442509097 commented, I was able to obtain the 64bit files of the library. I created a zipped file with all the libaacdecoder.so and jar files. You can download them using this link:

https://mega.nz/#!btdjBQKA!vUWVT-8HujxSmrTwvZ-j0ibcesIuwgjLdA4Qm8Phkvo

I tested the library on both 32bit and 64bit phones and it worked. Replace all you .so files and .jar file with these and you should be good to go.

Hi, how to replace? I can't find the files in the project.

ghost commented 4 years ago

#59 (comment) Thanks to the old thread above in which a442509097 commented, I was able to obtain the 64bit files of the library. I created a zipped file with all the libaacdecoder.so and jar files. You can download them using this link: https://mega.nz/#!btdjBQKA!vUWVT-8HujxSmrTwvZ-j0ibcesIuwgjLdA4Qm8Phkvo I tested the library on both 32bit and 64bit phones and it worked. Replace all you .so files and .jar file with these and you should be good to go.

Hi, how to replace? I can't find the files in the project.

C:\Users\==USERNAME==.gradle\caches\transforms-2\files-2.1\e57998cd0815798693f1f44452b15c18\jetified-RadioPlayerService-2.0\jars\libs

C:\Users\==USERNAME==.gradle\caches\transforms-2\files-2.1\e57998cd0815798693f1f44452b15c18\jetified-RadioPlayerService-2.0\jni