Sending signal. PID: 22843 SIG: 9 Lost connection to device. i got this error when opening map in flutter

huangapple go评论48阅读模式
英文:

Sending signal. PID: 22843 SIG: 9 Lost connection to device. i got this error when opening map in flutter

问题

打开地图时,使用我的当前位置会导致SIGTERM退出。

android.enableDexingArtifactTransform=false

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

我在我的项目中添加了权限。

英文:

when im opening map using my current location the sigterm is exiting

android.enableDexingArtifactTransform=false

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

i've added permission in my project

答案1

得分: 1

我解决了这个问题。是因为我在同一个项目中同时使用了geolocator和location包来获取位置。

英文:

I solved the issue. it's because I was using both the geolocator and location package in the same project for location fetching

huangapple
  • 本文由 发表于 2023年4月17日 18:51:25
  • 转载请务必保留本文链接:https://go.coder-hub.com/76034354.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定