badaix / snapdroid

Snapcast client for Android
GNU General Public License v3.0
124 stars 25 forks source link

Snapclient.so not found #56

Closed RuhanSA079 closed 1 year ago

RuhanSA079 commented 1 year ago

Hello,

After successfully cloning your repos and stuff to build my own snapcast APK, it breaks when I try to start the snapclient.so binary, it says no such file, running on Android 13 on my Nothing Phone 1.

Lib location: /data/app/~~Rm6FJWhL1HQjzfEctD2Imw==/com.xx.snapdroid-wc7bYVFX2WlWqchndwCfAA==/lib/arm64
2023-04-06 23:10:48.710 10256-10256 System.err              com.xx.snapdroid          W  java.io.IOException: Cannot run program "/data/app/~~Rm6FJWhL1HQjzfEctD2Imw==/com.xx.snapdroid-wc7bYVFX2WlWqchndwCfAA==/lib/arm64/libsnapclient.so": error=2, No such file or directory

I can confirm with binwalk that the APK being built does have the library for all the architectures (x86, armeabi-v7a, x86_64 and arm64-v8a)

RuhanSA079 commented 1 year ago

Fixed by setting minSDK to 16. Seems like there's a AndroidStudio/Android bug that I'm not aware of?