Anybody using exchange in mail app?
Every time I want to setup my account the mail app crashes with this error:
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:325)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
Caused by: java.lang.SecurityException: getDeviceId: Neither user 10055 nor current process has android.permission.READ_PHONE_STATE.
at android.os.Parcel.readException(Parcel.java:1684)
at android.os.Parcel.readException(Parcel.java:1637)
at com.android.emailcommon.service.IEmailService$Stub$Proxy.validate(IEmailService.java:358)
at com.android.emailcommon.service.EmailServiceProxy$2.run(EmailServiceProxy.java:168)
at com.android.emailcommon.service.ServiceProxy$ProxyConnection$1.doInBackground(ServiceProxy.java:117)
at com.android.emailcommon.service.ServiceProxy$ProxyConnection$1.doInBackground(ServiceProxy.java:115)
at android.os.AsyncTask$2.call(AsyncTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
... 4 more
I'm using the 20161221 nightly and open gapps 20161217_nano.
After installing open gapps 20161217_micro, the setup in gmail is working but the mail app can't setup any exchange account anymore.
Edit: I had to grant exchange service some permissions in apps menu.
Thanks Sevik
http://forum.xda-developers.com/lg-...14-0-experimental-lg-g3-t3464062/post70190108