P1000
P1000

Reputation: 11

Install Android apkm programmatically / cli

Edit: I'm not sure how to pass the list of apks In the current directory into adb install multiple from the article? I tried these:

adb -s localhost:5555 install-multiple --user 0 *.apk 
ls .apk | adb -s localhost:5555 install-multiple --user 0

I have several .apkm files each for different apps that I would like to install at once.

For a normal APK this is easy enough to do looping with adb instead app.apk

When I try: adb install --user 0 app.apkm

I Get this: Performing Streamed Install adb: filename doesn't end .apk or .apex: apkm.apkm

I found online a way of installing from the extracted apps from the apkm?

Is there a way to install a .apkm file from adb/cli?

I hope this makes sense. Thanks for any suggestions

Upvotes: 0

Views: 1674

Answers (0)

Related Questions