0

I'm developing an application which requires the user main account(like posted here) but i'm having following error:

the caller ui 10134 lacks of any of android.permisson.GET_ACCOUNTS

I guess that means permisson error(obviously). So i added following lines to my manifest.

    <application>
...


        <uses-permission android:name="android.permission.GET_ACCOUNTS" ></uses-permission>
        <uses-permission android:name="android.permission.USE_CREDENTIALS" ></uses-permission>
        <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"></uses-permission>
    </application>

But string not work. What could be the problem? What Im doing wrong?

Community
  • 1
  • 1
Misters
  • 1,337
  • 2
  • 16
  • 29

1 Answers1

1

You have to put permissions before the <application></application> tag and it will work !

Edit: and the uses-permission is a single tag like : <uses-permission />

Kyu_
  • 800
  • 4
  • 10
  • 18