Update of Android APK Package on AFW Phone fails with File IO Error

CB
Ciaran Byrne
Click Ahead Ltd

Do I have to uninstall my existing Android App, everything I want to deploy a package with an updated APK in MobiControl?

Here's my workflow:

1. Factory Reset Nokia 8 Android 8.0.1 phone and set up with Android for Work (afw#mobicontrol) and enroll in MobiControl.

2. Build my Android APK, create a Package, and assign Package to Phone

3. Confirm app is up and running

4. Make a change to my Android APK, create new Package

5. Remove old package from Profile and add new Package

6. Save and Assign to phone

7. Install fails with File IO Error

Current workaround:

1. Remove old app on phone by looking at Applications in MobiControl, finding the app and clicking remove

2. Redeploy new Package.

The problem is that by uninstalling the existing app I am loosing a database that I need to maintain and this is also
a long and painful process for 60+ phones.

Am I missing something here?

Thanks,

Ciaran

7 years ago
Android
ANSWERS
CB
Ciaran Byrne
7 years ago

I found the answer to my problem here:

https://discussions.soti.net/thread/how-to-update-package-apk-on-multiple-device/

The mistake I was making was creating a new package each time. I should have modified my existing package, incremented the version number, uploaded it, edited the profile to select the new package version and save and assign. Once I did this it worked.