Emulator's Location simulation not working

后端 未结 13 2093
鱼传尺愫
鱼传尺愫 2020-12-02 19:41

I would like to lower the minimum API level of my application to 4.4(KitKat) from 5.0(Lollipop)

Sadly I couldn\'t get any real devices

13条回答
  •  旧时难觅i
    2020-12-02 20:43

    emulator users:

    if you are trying to passing longitude and latitude values from extended controller you have to add this code in your MainActivity.

    String LOCATION_PROVIDER = LocationManager.GPS_PROVIDER;

    in AndroidManifest

提交回复
热议问题