Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Must be called from main thread of process" Error in OkAuthActivity.java #116

Open
7va opened this issue May 3, 2016 · 0 comments
Open

Comments

@7va
Copy link

7va commented May 3, 2016

Ok crashed, when login in with error:
FATAL EXCEPTION: Thread-167 Process: su.iqq, PID: 3472 java.lang.IllegalStateException: Must be called from main thread of process at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1428) at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:483) at android.app.FragmentManagerImpl.popBackStackImmediate(FragmentManager.java:498) at android.app.Activity.onBackPressed(Activity.java:2482) at ru.ok.android.sdk.OkAuthActivity.onFail(Unknown Source) at ru.ok.android.sdk.OkAuthActivity$1.run(Unknown Source)

AndroidManifest have the code:



<activity
            android:name="ru.ok.android.sdk.OkAuthActivity"
            android:launchMode="singleTask"
            android:configChanges="orientation">
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />

                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />

                <data
                    android:scheme="okauth"
                    android:host="okxxxxxxxx" /> <!-- With my OK_APP_ID -->
            </intent-filter>
        </activity>


Also i created OK_PUBLIC_KEY and OK_SECRET_KEY

@7va 7va changed the title Must be called from main thread of process on OkAuthActivity.java Must be called from main thread of process in OkAuthActivity.java May 3, 2016
@7va 7va changed the title Must be called from main thread of process in OkAuthActivity.java "Must be called from main thread of process" Error in OkAuthActivity.java May 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant