Android在地图中的当前位置 [英] Android current location in maps
本文介绍了Android在地图中的当前位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在android的google maps中显示当前位置,并且在实际设备而不是模拟器上测试应用程序时显示错误.错误是-
I want to display current location in google maps in android and it shows error while test the app on actual device not on emulator. The error is-
The client must have ACCESS_FINE_LOCATION to st HIGH_ACCURACY priority
推荐答案
请将此行添加到清单中
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
此外,很清楚日志中的内容.阅读有关android权限的更多信息.
Also, is clear what the log says. Read a little more about android permissions.
http://developer.android.com/intl/es/reference/android/Manifest.permission.html
这篇关于Android在地图中的当前位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文