Intune - Resign app and enable policies (Android)
These instructions are for Intune and the Android Mobility for Jira app. We publish signed and wrapped files for Intune. If you want to wrap and/or sign the APK yourself, you will need the following:
APK file (input app)
Your organization’s distribution key or create a new one
Windows computer
Download & install the wrapping tool: GitHub - microsoftconnect/intune-app-wrapping-tool-android: Use the Intune App Wrapping Tool for Android to enable Android apps to be managed by Microsoft Intune
Download & install a Java JRE: https://www.java.com/en/download/
Run the wrapping tool from step 1 in PowerShell:
Import-Module "C:\Program Files (x86)\Microsoft Intune Mobile Application Management\Android\App Wrapping Tool\IntuneAppWrappingTool.psm1"
invoke-AppWrappingTool -InputPath .\app\jiraconnect.apk -OutputPath .\app_wrapped\jiraconnect.apk -Verbose
Sign the wrapped APK from above step with the apksigner tool
apksigner sign --ks yourkey.jks jiraconnect-wrapped.apk
References
Wrap Android apps with the Intune App Wrapping Tool
apksigner | Android Studio | Android Developers