3

After updating google ads services to version 8.1.0 I can't use AccountPicker to get user email. before i use
compile 'com.google.android.gms:play-services-ads:7.5.0' and AccountPicker works.

I want to use latest library, but after updating:
compile 'com.google.android.gms:play-services-ads:8.1.0'
I have error Cannot resolve 'AccountPicker'
How to import AccountPicker?

Alex Maddyson
  • 411
  • 4
  • 13
  • I tried it with `8.1.0`, it works for me. Have you tried to do `import com.google.android.gms.common.AccountPicker;` manually in your java files? – ztan Nov 02 '15 at 18:27
  • Possible duplicate of [Exception java.lang.NoClassDefFoundError: com.google.android.gms.common.AccountPicker](http://stackoverflow.com/questions/16182957/exception-java-lang-noclassdeffounderror-com-google-android-gms-common-accountp) – Jehy Dec 02 '15 at 07:59

1 Answers1

0

If you use android studio, then this can be relevant (you have to do a clean & build (which AS doesn't truly do right now)): Exception java.lang.NoClassDefFoundError: com.google.android.gms.common.AccountPicker

Community
  • 1
  • 1
Jehy
  • 4,729
  • 1
  • 38
  • 55