简体   繁体   中英

Android Maps error “Could not find class 'android.app.AppOpsManager'”

I'm doing a simple app with maps, it worked fine at first but suddenly the map isn't displayed anymore and these errors are displayed in the logcat:

06-06 20:53:37.007  31809-31809/com.example.veuge.maps E/dalvikvm﹕ Could not find class 'android.app.AppOpsManager', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza
06-06 20:53:38.849  31809-31809/com.example.veuge.maps E/dalvikvm﹕ Could not find class 'android.app.AppOpsManager', referenced from method com.google.android.gms.common.hg.a

I've tried everything: I reviewed the API key, I reset the targetSdkPermission and updated the Google Play Services. I just don't know what else to do. Help please

After spending couple of days to solve this strange problem, Finally found the cause of the crash. Although the error persists, program runs without any problem now.

Documents states it here

The solution for this problem is solved at this stackoverflow post

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM