无法将GPX/KML数据加载到Android模拟器中(API 30)

发布于 2025-02-03 13:00:03 字数 1224 浏览 1 评论 0原文

我一直在尝试将GPX/KML加载到我的虚拟Android设备中,但是“扩展控件”窗口永远旋转。我最终将其关闭,关闭仿真器,然后再次打开,有时该路由会显示在列表中,但再次单击它会提出“加载保存的路由”指示器(永远不会消失)。

我尝试重新创建虚拟设备实例,擦拭数据和冷启动,但这无济于事。我在Google Maps中创建了路线,将它们转换为gpx 。然后i 简化了gpx (减少点)和添加时间戳,但没有任何可行。

我能够无问题地加载一个单点的GPX文件。

我正在使用KDE运行Manjaro Linux。

AVD信息

  • Pixel 4
  • API 30
  • Android 11.0 Google Play
  • X86

Android Studio Info

  • Android Studio Chipmunk | 2021.2.1补丁1
  • 构建#AI-212.43.2112.8609683,建于5月18日,2022年5月18日
  • 运行时版本:11.0.12+0-B1504.28-7817840 AMD64 AMD64
  • VM:OpenJDK 64位SRO SRO
  • Linux 5.16。 20-2-Manjaro
  • GC:G1年轻一代,G1老一代
  • 内存:1280m
  • 内核:8
  • 注册表:external.system.auto.import.disabled = true

“

I've been trying to load a GPX/KML into my virtual Android device but the "Extended Controls" window just spins forever. I eventually close it, close the emulator, and open it again and sometimes the route will show up in the list, but clicking it again brings up the "Loading Saved Route" indicator (which never goes away).

I've tried re-creating the virtual device instance, wiping data, and cold booting but it doesn't help. I created my routes in Google Maps and converted them to GPX. Then I simplified the GPX (to reduce points) and added timestamps, but nothing works.

I am able to load GPX files with a single point without issue.

I'm running Manjaro Linux with KDE.

AVD Info

  • Pixel 4
  • API 30
  • Android 11.0 Google Play
  • x86

Android Studio Info

  • Android Studio Chipmunk | 2021.2.1 Patch 1
  • Build #AI-212.5712.43.2112.8609683, built on May 18, 2022
  • Runtime version: 11.0.12+0-b1504.28-7817840 amd64
  • VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
  • Linux 5.16.20-2-manjaro
  • GC: G1 Young Generation, G1 Old Generation
  • Memory: 1280M
  • Cores: 8
  • Registry: external.system.auto.import.disabled=true

It hangs!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

瞄了个咪的 2025-02-10 13:00:03

我为此苦苦挣扎了大约半天,最终能够通过更新Android模拟器工具(文件 - >设置 - > shopcy& android saterings - > gt; gt; gt; SDK工具)。

I was struggling with this for about half a day and ultimately was able to fix the issue by updating the Android Emulator tool (File -> Settings -> Appearence & Behaviour -> System Settings -> Android SDK -> SDK Tools).

Screenshot from IDE

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文