Frage

Every time I deploy my application on device, it removes all accounts from AccountManager associated with that application. Is there any way to prevent this ?

War es hilfreich?

Lösung 2

In my deployment script I had

adb shell pm uninstall -k my.app.pck

So that removed all accounts

Andere Tipps

I am doing a "adb install -r a.apk" and the account I created stays put. Sure you are not removing the app's data with a flag?

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top