Android Adding Account With Accountmanager
Hey guys im trying to add an account with androids accountManager, I keep getting this stack trace below. Guys I cant post all of my code cause I break the limit that Stack Overflo
Solution 1:
As exception says, caller uid is different than the authenticator's uid. To add a account explicitly, caller and authenticator's uid should be same.
This should be same as your app id, i.e package name.
android:accountType="com.example.rapid.rapid"
Android Developer Documentation
This method requires the caller to have a signature match with the authenticator that owns the specified account.
Solution 2:
I had a similar problem, but got it fixed after I restarted the device. It might help to try it out.
Post a Comment for "Android Adding Account With Accountmanager"