我想在我的應用程序中添加功能,即一個谷歌帳戶添加到Android的客戶經理,通過使用方法 mAccountManager = AccountManager.get(getBaseApplicationContext());
Account account = new Account("sample.account", "com.google");
的應用谷歌帳戶添加但它表示一個例外使用的AccountManager
java.lang.SecurityException異常:調用者UID 10117比不同的 authenticato的r UID
是否可以在應用程序代碼中添加帳戶(更準確地說是登錄到已有的Google帳戶)?我應該使用哪種方法?