Skip to content

Wrapping failure when app targets API level 36 (MAM only supports API 35) #113

@lukeisontheroad

Description

@lukeisontheroad

Questions to Ask Before Submission

  1. Does your app launch successfully without wrapping?
    Yes.

  2. Have you reviewed the prerequisites for App Wrapping?
    Yes.

  3. Does your issue have a solution in the Troubleshooting Guide?
    No.

  4. Have you checked the Microsoft Intune App SDK for Android repository for similar issues?
    Yes.

  5. Are you using the latest version of the App Wrapper?
    Yes. Version 1.0.4549.6 (Oct 29, 2024).

Describe the bug

Wrapping fails when attempting to process an APK targeting API level 36 (Android 16). The tool enforces a maximum supported target SDK of 35, resulting in an immediate failure.

Error:

com.microsoft.intune.mam.apppackager.utils.AppPackagerException: This app's target API level is above the MAM target API level. App target: 36, MAM target: 35. Please upgrade to the newest version of the App Wrapping Tool if available.

To Reproduce

  1. Use Intune App Wrapping Tool version 1.0.4549.6.
  2. Attempt to wrap an APK with targetSdkVersion=36.
  3. Observe the error during packaging.

Expected behavior

The tool should wrapping the apk.

Screenshots and logs

Wrapping APK with Intune App Wrapping Tool...
Failed to package app.
com.microsoft.intune.mam.apppackager.utils.AppPackagerException: This app's target API level is above the MAM target API level. App target: 36, MAM target: 35. Please upgrade to the newest version of the App Wrapping Tool if available.

Intune app wrapping tool (please complete the following information)

Version: 1.0.4549.6 (latest as of report)
App platform: Native Android (Java/Kotlin)
Pre-wrapping: App builds and runs successfully without wrapping.
Post-wrapping: Not applicable; wrapping fails.
Reproducibility: 100% with any apk with API 36 target

Additional context

Google Play will require apps to target API 36; lack of support blocks release in the future.

Request:

Please release an updated version of the App Wrapping Tool that supports API level 36 (Android 16).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions