更新时间:2022-11-17 07:59:59
对不起这个愚蠢的错误.
Sorry for the silly mistake.
我发现了问题所在.我忘记在 AndroidManifest.xml
中添加< uses-permission>
标记.
I figured out the problem. I forgot to add <uses-permission>
tag in AndroidManifest.xml
.
添加:
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
< manifest>
标记下的 AndroidManifest.xml
中的
完成了该工作.
in AndroidManifest.xml
under <manifest>
tag did the job.