SecurityException in getPassword of accountManager in android
问题 I'm trying to retrieve the password of google account, but getting security exception at String pwd = AccountManager.get(mContext).getPassword(account). Also i have given permissions in androidManifest.xml to account_manager, aunthenticator, get_account, manage account. code : android.accounts.Account[] gaccounts = AccountManager.get(mContext).getAccounts(); Log.i("parul", "2222()len :"+ gaccounts.length); for (android.accounts.Account account: gaccounts) { String pwd = AccountManager.get