Could not find class 'com.google.android.gms.location.internal.ParcelableGeofence referenced from method glt.a

前端 未结 3 668
离开以前
离开以前 2020-12-17 04:05

I have an app where homepage is map.

Do not know why i am getting this error and along with this error Could not find class \'gpr\', referenced from method gps

3条回答
  •  不知归路
    2020-12-17 04:39

    Could you post your manifest? Sans API key, of course.

    Your log looks almost identical to mine for a problem I've had recently, which was fixed by adding the following to the manifest:

     
    

    I'm working on an application that was accessing maps just fine, then stopped out of the blue. I couldn't see anything actually pointing to a missing permission; I only picked up on it when I compared the manifest with another application that used maps api v2.

    I'm still confused as to why it previously worked without it (Google says you need the permission for maps to work). Perhaps I'd once put it there and accidentally deleted the line, but either way putting it in is what fixed it.

    Source: https://developers.google.com/maps/documentation/business/mobile/android/config

提交回复
热议问题