apkeep icon indicating copy to clipboard operation
apkeep copied to clipboard

Failing to install APKs downloaded from Google Play

Open rubenvereecken opened this issue 1 year ago • 1 comments

adb install of an APK downloaded via apkeep results in INSTALL_FAILED_MISSING_SPLIT. This is even with split set to false – it always just downloads a single APK.

apkeep.ini

[google]
device = px_7a
locale = en_US
split_apk = false
include_additional_files = true

rubenvereecken avatar Sep 05 '24 10:09 rubenvereecken

This happens for me with net.easypark.android On my device where this app was installed with the regular play store app "App size" is 87 MB, while the one downloaded with apkeep is 45 MB.

blip-unicorn avatar Oct 11 '24 07:10 blip-unicorn

adb install-multiple is the correct command for split APKs. If you specify split_apk = false then apkeep will only download the base APK, rather than all the splits necessary to install this app.

For instance, for the above net.easypark.android:

$ apkeep -d google-play -a net.easypark.android -o split_apk=true .
Downloading net.easypark.android...
net.easypark.android downloaded successfully!
$ adb install-multiple net.easypark.android/*.apk
Success

Hainish avatar Feb 08 '25 00:02 Hainish

It seems to me that the issue is that split_apk does not work as an option in the ini file. I tried setting it both to true and false but got a single .apk file in both cases. As per the example given I then tried it on the command line and got a directory with several .apk:s.

blip-unicorn avatar Feb 28 '25 07:02 blip-unicorn