After a successful basic authentication I want to add an account for later use. When I tried to create this account using the following code:
AccountManager
You are using "com.example" as unique identifier for your app,please check if it's same in "authenticator.xml"
"com.example"
"authenticator.xml"