Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Android Account Manager Problem

$
0
0

I'm looking at using Account Manager in the Android portion of a Xamarin Forms application with the following code:

var accMgr = AccountManager.Get(Forms.Context);
var account = new Account("username", "com.biz.app");
accMgr.AddAccountExplicitly(account, "password", null);

On the last line, an exception is being thrown:

java.lang.SecurityException: caller uid 10113 is different than the authenticator's uid

How can I go about resolving this?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>