rom1v / sndcpy

Android audio forwarding (scrcpy, but for audio)
MIT License
3.25k stars 296 forks source link

APK Certificates Not Found #202

Open alkaris2 opened 2 years ago

alkaris2 commented 2 years ago

Doing a typical install with ADB returns the error saying the APK has no certificates so it fails to install to device.

$ adb install sndcpy.apk 
Performing Streamed Install
adb: failed to install sndcpy.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1122317633.tmp/base.apk: Attempt to get length of null array]

it looks like you need to have a valid certificate with the APK for it to install to the device otherwise it fails.

Also if I were to just push the APK to the device itself as a file transfer with adb push sndcpy.apk /sdcard/Downloads and install from the device itself, it also returns error that it failed to parse APK.

budicuy commented 2 years ago

I also experienced the same thing