Back to top

AppWrapper error codes

Last updated April 3rd, 2024

The App Wrapper functionality, available on internal Android apps, will begin sunsetting starting with Knox Manage 24.04, and will be deprecated with the Knox Manage 24.06 release.

Existing apps using App Wrapper can continue to use it without any impact. You will not be able to deploy app wrapper for new apps.

The error codes that may appear while using the AppWrapper on Android or iOS are as follows:

Android App

Code Definition Description
0 SUCCESS Wrapping successful.
SUCCESS + 1 EMM_SDK_EXIST EMM SDK is included in the apk file when in EMM check mode.
SUCCESS + 2 EMM_SDK_NOT_EXIST EMM SDK is excluded in the apk file when in EMM check mode.
-1000 SRC_APK_NOT_EXIST Original apk file to wrap not found in path.
SRC_APK_NOT_EXIST -1 TMP_DIR_NOT_EXIST The tmp folder required for a redex process does not exist.
SRC_APK_NOT_EXIST -2 KEYSTORE_FILE_NOT_EXIST KeyStore file for signing not found in path.
SRC_APK_NOT_EXIST -3 DEX_FILE_NOT_EXIST sdsemm.dex file does not exist in the Wrapper installed folder.
SRC_APK_NOT_EXIST -4 SO_LIB_DIR_NOT_EXIST SO lib folder for INI Push use not found in path.
SRC_APK_NOT_EXIST -5 FRAMEWORK_RES_FILE_NOT_EXIST resource_framework.arsc file not found in path.
SRC_APK_NOT_EXIST -6 EMM_SDK_ALREADY_INCLUDED EMM SDK is included in the apk file to wrap.
SRC_APK_NOT_EXIST -7 SIGNING_FAILED Signing failed for the wrapped apk file.
SRC_APK_NOT_EXIST -10 APPWRAPPER_VER_CHECK The apk file has a record of being wrapped with an identical AppWrapper version.
-99999 UNKNOWN

iOS App

Code Definition Description
0 SUCCESS Wrapping successful.
-1000 SRC_APK_NOT_EXIST Original IPA file to wrap not found in path.
SRC_APK_NOT_EXIST -6 EMM_SDK_ALREADY_INCLUDED EMM SDK is included in the IPA file to wrap.
SRC_APK_NOT_EXIST -7 SIGNING_FAILED Signing failed for the wrapped IPA file.
SRC_APK_NOT_EXIST -10 APPWRAPPER_VER_CHECK The IPA file has a record of being wrapped with an identical version of App Wrapper.
SRC_APK_NOT_EXIST -11 PROVISIONFILE_NOT_EXIST Provisioning profile for app signing not found in path.
SRC_APK_NOT_EXIST -12 BUNDLEID_NOT_MATCHED The entered app bundle ID does not match the app ID of the provisioning profile.
SRC_APK_NOT_EXIST -13 KEYCHAIN_NOT_MATCHED The entered prefix value of the keychain group does not match the prefix value of the provisioning profile.
-99999 UNKNOWN

On this page

Is this page helpful?