microsoftconnect / intune-app-wrapping-tool-android

Use the Intune App Wrapping Tool for Android to enable Android apps to be managed by Microsoft Intune
29 stars 11 forks source link

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

Closed gkereyappa closed 10 months ago

gkereyappa commented 1 year ago

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:

Smartphone (please complete the following information):

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

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

https://github.com/msintuneappsdk/intune-app-wrapping-tool-android/assets/141935570/e4cd1871-b793-4773-a942-d71f03b169b4

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

boyzhang-msft commented 1 year ago

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

rygo-msft commented 10 months ago

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.