12
votes

Could not find class 'android.app.AppOpsManager', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza

Authorization failure. Please see https://developers.google.com/maps/documentation/android/start for how to correctly set up the map.

In the Google Developer Console (https://console.developers.google.com)

Ensure that the "Google Maps Android API v2" is enabled.

Ensure that the following Android Key exists:

API Key:

Android Application (;): FD:9E:49:CD:63:;com.xxx.xxx

1
I have checked api key many times.All seems to be perfect. - Ashish
facing the same problem right now - Udit Kapahi

1 Answers

1
votes

Well, if anyone is still wondering...I had the same issue and finally figured it out. AppOpsManager was added in API level 19. Make sure your targetSdkVersion in your AndroidManifest.xml is the right one.