Facebook Log Out Error In Android
I had a Log in Button in my Android App. It works fine when I'm logging in. But then I got this error when I'm trying to Log Out. I can't figure it out what is causing the error. 1
Solution 1:
This exception is thrown when an application attempts to perform a networking operation on its main thread. Run your code in AsyncTask or in Thread.
or Add below code in onCreate()
method.
StrictMode.ThreadPolicypolicy=newStrictMode.ThreadPolicy.Builder().permitAll().build();
StrictMode.setThreadPolicy(policy);
Post a Comment for "Facebook Log Out Error In Android"