Symptom
If Android for Work (AfW) policies are installed upon enrollment, the Mobile Secure client crashes with the stack trace below as the Android for Work profile starts to inflate.
Mobile Secure
The application Afaria (com.Android.Afaria) has stopped unexpectedly. Please try again.
java.lang.SecurityException: Can't manage work accounts: com.Android.Afaria
>>>> Stack Trace >>>>
java.lang.SecurityException: Can't manage work accounts: com.Android.Afaria
at android.os.Parcel.readException(Parcel.java:1684)
at android.os.Parcel.readException(Parcel.java:1637)
at com.google.android.gms.common.internal.zzu$zza$zza.a(Unknown Source)
at com.google.android.gms.common.internal.zzd.a(Unknown Source)
at com.google.android.gms.internal.zzpw$zzc.a(Unknown Source)
at com.google.android.gms.internal.zzpw$zzf.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at com.google.android.gms.internal.zzrn.run(Unknown Source)
at java.lang.Thread.run(Thread.java:761)
Read more...
Environment
- SAP Mobile Secure, Cloud Edition
- SAP Afaria
- Android devices
- Android for Work policies
Product
Keywords
Android for Work, AfW, crash, The application Afaria (com.Android.Afaria) has stopped unexpectedly Please try again, Can't manage work accounts: com.Android.Afaria , KBA , workaround , MOB-SEC , Mobile Secure Portfolio (Cloud) incl Afaria Cloud Edition , MOB-AFA , Afaria , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.