badaix/snapdroid

Snapclient.so not found

RuhanSA079 opened this issue · 1 comments

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)

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