Packaging split APK files

PW
Paul W
Trifords Ltd - T-A Autowindscreens Ltd

Has anyone managed to create and deploy a package where the application has split apk's
These are android+ devices,

we manage the installs via packaging the apk and deploying them to the devices, We do not use google playstore nor application catalogue

My normal process

I installed an app from the playstore on one device, that ensures it is compatible and it works.

I then use ADB to extract the apk from that device.

I package the apk in package studio, import it to SOTI and deploy it to my estate.

However, I have found that the latest release of the app, is now in 4 files

base.apk

split_config.armeabi_v7a.apk

split_config.en.apk 

split_config.tvdpi.apk

I have tried adding them all to a package, but I get an IO Error when i try to deploy package via a profile

The device giving me the IO Error previously had the application installed but since been uninstalled.

I would assume that the installation order of the split apks are important, but I am not certain what is the correct order or how to set which order they are installed in package studio

I would assume that the base apk would need installing first then the split_ files in turn

The question is more, has anyone successfully installed and application with split apk's using mobicontrol?

Searching the web, there are 3rd party apps such as SAI Split APK Installer which can install them, but that is not a solution for me. I want to use SOTI Mobicontrol to do it

Thanks in advance for any info

Edited to clarify 

Edited 5 years ago
Android
ANSWERS
RC
Raymond Chan Diamond Contributor
5 years ago

Are you upgrading or installing from scratch on the device reported with I/O error.  Have you checked if the new set of four apps is compatible with the Android firmware on your device?   

I don't know why you previously needed to use adb to install.  Does any of the files required root access?

In generall, a .pcg package can be used to include more than one  independent apk.  In your case of an app split in multiple apk, could you check if the order of installation of the four files are arbitrary or should they be installed following a fixed sequence? 

PW
Paul W
5 years ago

Sorry for any misunderstanding, We do not use ADB to install the apk.

I installed an app from the playstore on device one, that ensures it is compatible and it works.

I then use ADB to extract the apk from device one.

I package the apk in package studio, import it to SOTI and deploy it to my estate.

As for the i/o error, I am installing the profile containing the package on a device which previously had the application installed bu since been uninstalled.

I would assume that the installation order of the split apks are important, but I am not certain what is the correct order or how to set which order they are installed in package studio

I would assume that the base apk would need installing first then the split_ files in turn

The question is more, has anyone successfully installed and application with split apk's using mobicontrol?

Searching the web, there are 3rd party apps such as SAI Split APK Installer which can install them, but that is not a solution for me. I want to use SOTI Mobicontrol to do it

RC
Raymond Chan Diamond Contributor
5 years ago (edited 5 years ago)

So, you used ADB to help rebuild the app apk file from files installed on the device.  Understood,  I wouldn't recommend this to my customers .  Firstly, the apk file buit this way may not include all the files included in the original apk package from Google Play store.  The missing file(s) may be the causes of subsequent installation problem.  Secondly, there might be legal concern related to software licensing.

No assumption needs to be made about the installation sequence and compatibility of the apk on the device.  Just make a thorough test to install the files on a test device manually to confirm what is or is not allowed.  After nailing down the details, then think about how to deploy them automatically in one or multiple .pcg packages.

B
Bhav
5 years ago

If you have installed an app from playstore, then you should be able to find the same app in either and download the apk (unlikely to be split either!):

https://www.apkmirror.com

or

https://apkpure.com

No log in required and there is no need to use adb!

PW
Paul W
5 years ago

Thank you, but the apk is split on those sites and they suggest installing a 3rd party app to install the split apks

AC
Alex C
4 years ago

I have the exact same problem due to issues with the play store. Were you ever able to get this to work?

M
Miles
4 years ago

I had a similar issue when downloading from ApkPure.com, but then found this site that packages the app into a single APK instead of a split one.

https://apps.evozi.com/apk-downloader/

Maybe this site will work for your app too.