AccountManager blockingGetAuthToken gets stuck
问题 I've been using the SampleSyncAdapter as a base to create my own SyncAdapter. It seems to work well to add a new account, but once I want to get the authtoken with AccountManager.blockingGetAuthToken(... it gets stuck and then throws an OperarationCanceledException after a few minutes. Does anyone have an Idea of what could be wrong here? The code is almost the same as the sample except I am authenticating towards my own server. 05-24 23:00:23.258: ERROR/SyncAdapter(4961):