M
M
max3602016-04-05 18:20:48
Android
max360, 2016-04-05 18:20:48

Android authorization error?

Good afternoon. Please tell me, an error occurs when trying to authorize after calling the mOdnoklassniki.requestAuthorization(this, false, OkScope.VALUABLE_ACCESS) method and the "login" response in the browser on the application page
Error:
java.lang.IllegalStateException: Must be called from main thread of process
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1511)
at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:562)
at android.app.FragmentManagerImpl.popBackStackImmediate(FragmentManager.java:577)
at android.app.Activity.onBackPressed(Activity.java:2503)
at en.ok.android.sdk.OkAuthActivity.onFail(OkAuthActivity.java:286)
at ru.ok.android.sdk.OkAuthActivity$1.run(OkAuthActivity.java:173)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question