OnLocationChanged callback is never called

前端 未结 14 1403
星月不相逢
星月不相逢 2020-12-01 03:28

I am trying to get the users current location using the LocationManager. I have done a lot of research and can\'t seem to find anyone with the same problem. T

14条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-01 03:42

    I had the same problem (onLocationChanged() never called with NETWORK_PROVIDER) on my real device (M, app's targetSDK 23) until I restarted it.

提交回复
热议问题