microsoftconnect / intune-app-wrapping-tool-android

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

The App Wrapping Tool not supporting Scheme V2 #52

Closed rooneytx closed 2 years ago

rooneytx commented 2 years ago

Our Mobile Applications are already using Target Level API 30 APK for Android 11. We have used the Signing Scheme V2 for this as the Signing Scheme V1 won’t work with Target Level API 30 APK. We can install the APK signed using Signing Scheme V2 but when we wrap the APK it shows the error below:

The package name for this app is 'com.xxxxx.xxxxx.events'. If you need to specify the package name during deployment, please use this one. The output app was not signed because it targets API 30 or higher. The App Wrapping Tool only supports signing with Android Signature Scheme V1. Per Android 11 requirements, an application signed with Android Signature Scheme V1 and targeting API 30 or higher cannot be installed on devices running API 30 or higher. The application located at C:\Program Files\Microsoft Intune Mobile Application Management\Android\App Wrapping Tool\Wrapped\events2_wrapped101521-unsigned.apk was successfully wrapped, but is not signed.

bannus commented 2 years ago

Duplicate of #17:

If you wish to wrap an apk signed using V2+ or to use a different certificate, you can do so by wrapping the apk without the signing parameters and manually signing the resulting apk using apksigner from the Android SDK.