Closed liamheneghan closed 3 years ago
We are running into the exact same issue. @liamheneghan did you find a solution? This is currently blocking us from releasing our application.
Unfortunately not @thomasvsundert. We have since stopped pursuing using the Intune SDK.
@msintuneappsdk any ideas on this issue? Could it be an issue with the APKTool? I saw they only recently added support for Android P, maybe this version is not yet packaged in the wrapper?
Hi @thomasvsundert, are you working with a natively built Android app? Does the app build without being wrapped? What is the target Android SDK version set for this app?
Hi @aanavath, this is indeed a native Android app, everything works perfectly when not using the wrapper. The target SDK is 27
Hi folks, the 'Unsigned short value out of range' error sounds like its related to enabling Multidex. From our documentation: (Optional) Enable Multidex within the input app. Sometimes an app may hit the Dalvik Executable (DEX) size limit due to the Intune MAM SDK classes that are added during wrapping. DEX files are a part of the compilation of an Android app. In this scenario, best practice would be to enable Multidex within the app itself. In certain organizations, this may require working with whoever compiles the app (ie. the app build team).
@liamheneghan @thomasvsundert Please let us know if you are still experiencing this issue.
@thomasvsundert : I wrote an article regarding this a while back. See the following https://support.microsoft.com/sl-si/help/4469909/the-application-could-not-be-wrapped-when-wrapping-an-android-app
The latest version of the app wrapping tool succesfully wraps my debug build types but release types fail with the following error: