1

I'm developing an Android application with Android Studio. I have added the package Google Maps for including the maps in my project. I have done everything to do this,create the key and the signature in the developer console,add the key in the manifest and the "google-play-services" package through gradle. But,when I launch the app,I have this error:

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

Why? I haven't found any fix for this issue on web.However,the app works and shows the map inside my activity.

hteo
  • 315
  • 1
  • 4
  • 11
  • 1
    This is perfectly normal behavior. Apps often have references to classes that do not exist in the virtual machine, such as when an app tries referencing a class that was added in a recent version of Android. So long as the app does not execute any lines of code that actually try using the class, everything is fine. – CommonsWare May 14 '15 at 13:54
  • @CommonsWare Ok,so I have to worry about this or not? Can I keep on safely? – hteo May 14 '15 at 17:44
  • 2
    You do not need to worry about it. – CommonsWare May 14 '15 at 17:50
  • due to this map activity on my phone is not working :( @CommonsWare please help – Udit Kapahi May 24 '15 at 10:29

0 Answers0