In my case I had to remove 
`google-api-client-googleapis-extensions-android2-1.4.1-beta.jar` from my 
project.

See 
http://stackoverflow.com/questions/10477147/how-to-fetch-access-token-for-google-api-authenticating-with-oauth-2-0-in-androi/11089504#11089504

regards,
Eugene

On Tuesday, May 8, 2012 5:24:16 PM UTC+2, MagouyaWare wrote:
>
> it is showing the error "The method getAccountManager() is undefined for 
>> the type GoogleAccountManager".
>>
>
> Umm... What code are you using?  The link you referenced never mentions a 
> getAccountManager() method on the GoogleAccountManager class.  That could 
> be a problem.
>
> The link you are using does give the following lines of code for using 
> GoogleAccountManager though:
>
> GoogleAccountManager googleAccountManager = new 
> GoogleAccountManager(activity);
>
> Account[] accounts = googleAccountManager.getAccounts();
>
> If you try using that code, it will probably work...
>
> Thanks,
> Justin Anderson
> MagouyaWare Developer
> http://sites.google.com/site/magouyaware
>
>
> On Sun, May 6, 2012 at 11:50 PM, Abhishek UB <> wrote:
>
>> getAccountManager()
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to