cancel
Showing results for 
Search instead for 
Did you mean: 

Intune Distribution of an Android SAP MDK Application

manwell77t
Explorer
0 Kudos

We have an issue with the distribution of an MDK App (23.12) with Microsoft Intune (Android).

The original APK works fine, both built with Mobile Services Cloud Build and Android Studio.

For Microsoft Intune Distribution we need to wrap it with a Microsoft Powershell script:

Microsoft script wrapped the original APK in a new one; next we need to zipalign and resign it with apk signer (as the script's output also say).

The wrapped APK installs correctly on enrolled devices but fails to open (blank screen). You can't even see the initial disclaimer.

Analyzing the LogCat we noticed that after initial checks there are 3 errors repeating many times till a fatal exception (maximum call stack exceeded).

The three errors (MAMTrace) are:

  1. Already tracing scenario ONLINE_FIRST_HOOKED_ACTIVITY_STARTUP
  2. Tried to start tracing for sub-operation onCreate common for scenario ONLINE_FIRST_HOOKED_ACTIVITY_STARTUP that is already being traced.
  3. Tried to start tracing for sub-operation onMAMCreate for scenario ONLINE_FIRST_HOOKED_ACTIVITY_STARTUP that is already being traced.

After many loops...

  • FATAL EXCEPTION: main
  • Process: com.xxx, PID: 21139
  • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx/sap.mdkclient.MDKAndroidActivity}: com.tns.NativeScriptException: Calling js method onCreate failed
  • RangeError: Maximum call stack size exceeded

Any idea experts?

Accepted Solutions (0)

Answers (0)