I got the below message when I use newest version of com.google.android.gms:play-services-xxx:9.8.00
Error:(32, 28) error: cannot access zzanb
class file for com.google.android.gms.internal.zzanb not found
The error was caused by invoking statement:
FirebaseAuth.getInstance().getCurrentUser().getUid();
How can I fix this problem?
Thank you.
UPDATE: Problem was solved
The newest updated of firebase version 9.8.0 is compatible with the google-service version 9.8.0. Now, everything works correctly.
NOTE: Firebase and Google Play Sevice always have same version. @see Ian Barber's comment below.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…