microsoftconnect/intune-app-wrapping-tool-android

Unable to install android .apk app on mobile after application was successfully wrapped

Closed this issue · 2 comments

Describe the bug:
We have a custom app that is created for internal purposes and we have successfully wrapped the app using "https://learn.microsoft.com/en-us/mem/intune/developer/app-wrapper-prepare-android" (refer to the screenshot)

The app was generated using the OutSystems platform. upon wrapping the app, transferred the app to android mobile phone using the Microsoft Company portal and downloaded on the phone. when we select install, getting the error message that "App not installed as package appears to be invalid" (pls refer the screenshot). this is the same behavior if we directly try to install the wrapped app.
however, the is able to install before the wrap using both the above methods. so we suspect there is an issue in wrapping and it is corrupting the APK after wrapping.

To Reproduce
Steps to reproduce the behavior:
refer the attached mobile screenshot

Expected behavior:
App should install in Android mobile

Screenshots and logs:

  • If applicable, add screenshots to help explain your problem. added the video and screenshot
  • If your app is crashing post-wrapping, do you have app logs for the crash itself? : added the PS logs
  • If your app is crashing pre-wrapping, do you have app logs for the wrapper errors? no error during the wrap

Smartphone (please complete the following information):

  • Device: Andoid Google Pixel 5a
  • OS: Android 13

Intune app wrapping tool (please complete the following information):

  • What version of the wrapper are you using? Are you using the latest version? : Version 1.0.3935.1
  • What platform is your app based in (Java, Xamarin based, Cordova, etc)?
  • For pre-wrapping errors, does the app build without being wrapped?
  • For post-wrapping errors, does the app launch without being wrapped?
  • Who is the customer?
  • Do you see a trend with it only being reproduced on a specific device?

Additional context:
PS log of wrapping.txt
MicrosoftTeams-image

app.installing.error.scr.mp4

please let us know what could be the issue after wrapping the app that is failing to install.

Hey @gkereyappa, one of the common issues with unable to install the app after wrapping is that the wrapped app is not signed. Can you please confirm if you re-signed the app after wrapping? Relevant doc: https://learn.microsoft.com/en-us/mem/intune/developer/app-wrapper-prepare-android#reusing-signing-certificates-and-wrapping-apps

Closing due to inactivity. @gkereyappa, please try aligning and signing your. If the issue persists please reopen this issue with logcat logs capturing the installation failure or the share the apk that is failing to install.