I'm trying to install multiple .apk files to my Samsung Note 4, over adb. I'm able to install the same set of files individually using the 'install' command, but when I try to 'install-multiple' I get the following error:
adb: failed to finalize session
Failure [INSTALL_FAILED_INVALID_APK: Split null was defined multiple times]
All my own research on the error turns up issues relating to development, but nothing relating to simply installing some .apks. The actual files do not have any spaces or special characters in their names. When I run the command with tracing enabled, you can see that the command that is actually being executed after expansion is syntactically correct.
adb install-multiple /tmp/update_phone/*
+ adb install-multiple /tmp/update_phone/firefox.apk /tmp/update_phone/protonmail.apk /tmp/update_phone/protonvpn.apk /tmp/update_phone/whatsapp.apk
Any advice would be heartily appreciated!
Ubuntu 20.04 | adb version 1.0.39 | Samsung Galaxy Note 4 | Lineage OS 17.1
adb install-multipleis for installing split APKs (single app, multiple APKs), not multiple different apps. – Andrew T. Mar 08 '21 at 03:05