Samsung Galaxy Tab A, android 5.1.1 support samsung knox?

My existing application working fine on Galaxy Tab 3V(SM-T116NY), But unable to activate samsung knox on Galaxy Tab A.

Getting following error -

11-14 18:15:08.067 26721-26721/com.*****.**********x E/AndroidRuntime: FATAL EXCEPTION: main
                                                                       Process: com.*****.**********x, PID: 26721
                                                                       java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {com.*****.**********x/com.*****.**********x.Act_SplashScreen}: java.lang.SecurityException: Can NOT Find PackageName
                                                                           at android.app.ActivityThread.deliverResults(ActivityThread.java:4755)
                                                                           at android.app.ActivityThread.handleSendResult(ActivityThread.java:4798)
                                                                           at android.app.ActivityThread.access$1500(ActivityThread.java:219)
                                                                           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1784)
                                                                           at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                           at android.os.Looper.loop(Looper.java:145)
                                                                           at android.app.ActivityThread.main(ActivityThread.java:6939)
                                                                           at java.lang.reflect.Method.invoke(Native Method)
                                                                           at java.lang.reflect.Method.invoke(Method.java:372)
                                                                           at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
                                                                           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
                                                                        Caused by: java.lang.SecurityException: Can NOT Find PackageName
                                                                           at android.app.enterprise.EnterpriseDeviceManager.setAdminRemovable(EnterpriseDeviceManager.java:945)
                                                                           at com.*****.**********x.Act_SplashScreen.onActivityResult(Act_SplashScreen.java:309)
                                                                           at android.app.Activity.dispatchActivityResult(Activity.java:6867)

Jenna S.Samsung SEAP Moderator
Nov 14, 2018
6:22 pm

Hello Ameet,

Are you encountering the error on license activation, or when an API is called? Make sure that you are using the backwards compatibility key, and including the supportlib.jar file. An example on how to run the Knox SDK on older devices can be found here.

Best regards,

Jenna