Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 512
Ashish Avatar asked Apr 23 '15 06:04

Ashish


1 Answers

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.

like image 98
charoup Avatar answered Oct 22 '22 02:10

charoup