Issues with app installation
You're trying to install an app silently on the managed Android device and you get the error message App installation failed or the installation seems to be in progress for a long time, with the app ultimately not getting installed on the device.
This mainly occurs due to the following reasons:
This issue can be solved by trying the following:
- Ensure sufficient space is available for the app(s) to install.
- Ensure the device has proper network connectivity.
- If the data saver is enabled on the device, ensure Google Play Store and Google Play Services are excluded from the list.
- Clear Google Play Store app data and cache by navigating to Settings-> Apps & notifications-> Google Play Store-> Storage-> Clear data.
- In the case of Xiaomi devices, turn off MIUI optimization by navigating to Settings-> Build Number. Tap on the build number 6 to 8 times to enable Developer Options and disable MIUI optimization.
- If the message "The product is not compatible with the device" is shown under Remarks on the MDM server, the app may not be compatible with the device. To verify this, you can access the Play Store on the device using a personal account, search for the app, and check if the app installs on the device.
Account-based (only if Android for Work is configured)
With G Suite
- Ensure the G Suite account with which you have configured Android Enterprise, is added as a work account on the device. To add a work account, navigate to Settings -> Accounts, on the device. If the device is provisioned as Profile Owner, add an account under Work.
- Ensure Google Mobile Management is not enabled. To verify, log into your Google Admin console, navigate to Device Management -> Setup -> Android App Management and click on the remove link to disable Google Mobile Management as the EMM provider. Enable the checkbox in the next step and click on Disable to complete the process.
Without G Suite
- Ensure a work account has been added. To verify a work account has been added, navigate to Settings -> Accounts, on the device. An additional account would have been added. If the device is provisioned as Profile Owner, the account will be added under Work.
- If an account has not been added, open ME MDM app and click on Violated Policies. If the work account addition is listed under Violated Policies, click on it and follow the on-screen instructions to add the account.
- Update Play Store and Play Services.
Play Store-based (only if Android for Work is configured)
- On the device, open Play Store (or Play Store for Work, if provisioned as Profile Owner), ensure the Play Store account is added. Accept the Terms and conditions, if prompted.
- If multiple Google accounts have been added in Play Store (personal as well as work accounts), ensure work account is selected or switch to work account if need be.
- Another option is to unapprove the approved app on Play for Work, then approve the app and try again.
- In case of silent app installs/updates, it can take up to 24 hours for the app to be added to the queue as stated here.
Installing an enterprise app may fail when the associated devices have moved to a different geographical region during app distribution, considering the app is country-specific. Before distribution, make sure that the app is available in all regions. If the app is not available in your region, you could contact the app developer to allow the app in your region. This helps in avoiding an error during installation.
Incompatible app: While downloading a distributed app, if you receive the error "Device not compatible", verify whether the app is compatible for your device model by manually installing the app in Play Store using a personal account.
Installing enterprise apps fails due to the following reasons:
- App signature mismatch: When the signature in the old app and new app is different.
- App cannot be downgraded: When the device has the latest version of the app.
- Corrupt APK: When the device cannot read the contents of the APK.
- Permission conflicts in APK: When there are conflicts in permissions between the old app and a new app.
Try to manually install the app on the device, using the APK added in the App Repository. If the app cannot be installed, then the issue is with the APK file.
App installation may fail due to incorrect server time. The server time needs to match the local standard time. In case of a mismatch, change the date and time settings of the machine, and restart the server.
If the issue persists, try re-distributing the app or contact MDM Support with the logs.
Applies to: App Management, Silent installation, Managing Mobile Devices
Keywords: App installation failure, Mobile Device Management, App Management