If I have ACCESS_FINE_LOCATION already, can I omit ACCESS_COARSE_LOCATION?
问题 I have a GPS app that already requests ACCESS_FINE_LOCATION permission in the manifest, now I want to add a library (MoPub) that requires ACCESS_COARSE_LOCATION . Am I correct in assuming that ACCESS_FINE_LOCATION is enough, and I can leave out ACCESS_COARSE_LOCATION from my manifest? 回答1: https://developer.android.com/guide/topics/location/strategies.html#Permission Note: If you are using both NETWORK_PROVIDER and GPS_PROVIDER, then you need to request only the ACCESS_FINE_LOCATION