I'm running the Calendar widget of the Android SDK2.1 on my device, and get authentication exception. It sounds that something is wrong with the accountmanager. How could I fixed that problem. Thanks!
Here is the log:
root@jacky-desktop:~# I/ActivityManager( 753): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.calendar/.LaunchActivity } I/ActivityManager( 753): Start proc com.android.calendar for activity com.android.calendar/.LaunchActivity: pid=1184 uid=10011 gids={3003} D/ddm-heap( 1184): Got feature list request I/ActivityThread( 1184): Publishing provider calendar: com.android.providers.calendar.CalendarProvider D/LauchAcitivity.java( 1184): icicle bundle = null, this is the first launch D/AccountManagerService( 753): bind attempt failed for Session: expectLaunch false, connected false, stats (0/0/0), lifetime 0.0, getAccountsByTypeAndFeatures, legacy_hosted_or_google D/AccountManagerService( 753): bind attempt failed for Session: expectLaunch false, connected false, stats (0/0/0), lifetime 0.001, getAccountsByTypeAndFeatures, legacy_hosted_or_google E/ActivityThread( 1184): Failed to find provider info for subscribedfeeds W/CalendarProvider( 1184): onAccountsChanged W/CalendarProvider( 1184): android.accounts.AuthenticatorException: bind failure W/CalendarProvider( 1184): at android.accounts.AccountManager.convertErrorToException(AccountManager.java:1096) W/CalendarProvider( 1184): at android.accounts.AccountManager.access$500(AccountManager.java:74) W/CalendarProvider( 1184): at android.accounts.AccountManager$BaseFutureTask$Response.onError(AccountManager.java:1003) W/CalendarProvider( 1184): at android.accounts.IAccountManagerResponse$Stub.onTransact(IAccountManagerResponse.java:69) W/CalendarProvider( 1184): at android.os.Binder.execTransact(Binder.java:287) W/CalendarProvider( 1184): at dalvik.system.NativeStart.run(Native Method)