我正在使用以下代码将帐户添加到帐户列表中
final AccountManager accountMgr = AccountManager.get(this.getApplicationContext());
Account ac = new Account("my.id","com.google");
try{
accountMgr.addAccountExplicitly(ac, "password", null);}
catch(Exception e){
String str = e.getLocalizedMessage();
Log.e("err",str);
}
但每次都会出现以下错误:'caller uid 10066 is different than the authenticationator's uid'