找不到类的android.app.AppOpsManager“,从法com.google.android.gms.common.GooglePlayServicesUtil.zza引用 [英] Could not find class 'android.app.AppOpsManager', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza

查看:271
本文介绍了找不到类的android.app.AppOpsManager“,从法com.google.android.gms.common.GooglePlayServicesUtil.zza引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

找不到类的android.app.AppOpsManager,从法com.google.android.gms.common.GooglePlayServicesUtil.zza引用

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

授权失败。请参阅<一href="https://developers.google.com/maps/documentation/android/start">https://developers.google.com/maps/documentation/android/start对于如何正确地设置地图。

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

在谷歌开发者控制台( https://console.developers.google.com

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

确保谷歌地图Android的API V2已启用。

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

请确保以下的Andr​​oid主要存在:

Ensure that the following Android Key exists:

API密钥:

Android应用程序(;):FD:9E:49:CD:63:; com.xxx.xxx

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

推荐答案

嗯,如果有人还是想知道......我有同样的问题,最后想通了。 AppOpsManager中添加了 API级别19 。请确保您的 targetSdkVersion 在AndroidManifest.xml中是正确的。

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.

这篇关于找不到类的android.app.AppOpsManager“,从法com.google.android.gms.common.GooglePlayServicesUtil.zza引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆