Android - Add Account

YouTube solution

Update: as posted by Derek in the comments and by some other people in various help forums:

Reportedly this works for most people who have tried it.

If it doesn't work and for those interested, here's my original little workaround project:

App solution

There's a bug in Android currently (up to 2.1) where you can't add more accounts anymore. The usual error is:

Can't establish a reliable data connection to the server.

The solution is to do a factory reset and add your new accounts on the fresh system, which usually works. Not very comfortable.

I recently had the same problem again, even did a reset and still couldn't get it to work, so I tried to solve it by doing it manually in an app. Luckily that was successful.

I don't know whether there are dangers in this or some important initialization isn't done. But it works fine for me.

I put up the source code and a compiled app package, see downloads. Use at your own risk.

Update

How To

That is all. I hope it's helpful.

Note: some people have reported an error like this:

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

I'm not sure yet why this happens for some and how it could be fixed.

Code

The relevant snippet:

AccountManager man = (AccountManager) getSystemService(ACCOUNT_SERVICE);
Account account = new Account("somewhere@domain.com", "com.google");
if (man.addAccountExplicitly(account, null, new Bundle())) {
    // worked
} else {
    // guess not
}

As you can see there is no password given.

Note that this does no checks whatsoever about the validity of the account or the password. That'll be done after the reboot. The snippet really just ADDS the account dumbly.

 

Comments

Show older comments

BigBonuskeesk 19:37 March 23, 2017

Get NoW your $1500 Bonus -> http://takemoney.pro

Marcussip 19:39 March 23, 2017

AlphaMan Pro - Improve male potency, muscle strength and sexual energy with this new natural vitamin complex!

Hurry! Final Few Trials of TestoBoost Pro available in Your City! Penis enlarger pills AlphaMan Pro http://penisenlargerpillsusa.com/ :

[b] Buy AlphaMan Pro [/b] <a href="http://penisenlargerpillsusa.com/state/increase-penis-louisville-1.htm">increase penis Louisville</a>

[b] Buy AlphaMan Pro [/b] [b] Male enhancement Bridgeport [/b] http://penisenlargerpillsusa.com/state/male-enhancement-bridgeport.htm

[b] Buy AlphaMan Pro [/b] <a href="http://penisenlargerpillsusa.com/state/stamford-how-can-i-make-my-penis-bigger.htm">Stamford how can i make my penis bigger</a>

[b] Buy AlphaMan Pro [/b] [b] penis enlargement oil Cambridge [/b] http://penisenlargerpillsusa.com/state/index3808.htm

[b] Buy AlphaMan Pro [/b] <a href="http://penisenlargerpillsusa.com/state/best-penis-growth-pills-san-diego.htm">best penis growth pills San Diego</a>

[b] Buy AlphaMan Pro [/b] [b] Pomona average sperm count [/b] http://penisenlargerpillsusa.com/state/pomona-average-sperm-count.htm

[b] Buy AlphaMan Pro [/b] http://penisenlargerpillsusa.com/state/get-a-bigger-penis-topeka.htm

[b] Buy AlphaMan Pro [/b] <a href="http://penisenlargerpillsusa.com/state/north-carolina-natural-ways-for-pennis-enlargement.htm">North Carolina natural ways for pennis enlargement</a>

LeonardBok 20:34 March 23, 2017

Я решила, что своему мужу нужно купить коллекционную игру, только свободных денег не было и я обратилась <a href="https://goo.gl/EtgKh1">сюда</a>. Может и вам повезет! Оформление заняло 5 минут и сразу на карту

xfumtbnb 23:22 March 23, 2017

croon yous gaffney madan badminton <a href="http://ostereisite2en.xyz">acgfwqe</a> piovarolo [url=http://clemens7sk.xyz]cgcy[/url] bumblebee quotes skaters http://radiobloga7c.xyz asakura dl doon jazeera

Michaelbet 00:52 March 24, 2017

good website [url=http://bags-obsession.com/]http://bags-obsession.com/[/url]

Add comment