Finally i solved it.The problem is that the token is not getting updated. So for that when ever accessing a token using getAuthtoken
String authToken=accountManager.getAuthToken(account, SCOPE, false,
new OnTokenAcquired(), null);
the authToken should be validated using
accountManager.invalidateAuthToken("com.google",
bundle.getString(AccountManager.KEY_AUTHTOKEN));
Then again after this you should call
String authTokenNew=accountManager.getAuthToken(account, SCOPE, false, new OnTokenAcquired(), null);
This will be a valied token. You can check the validity of the token from this LINK