Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot load GPX/KML data into Android emulator (API 30)

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!

like image 342
Josh M. Avatar asked Aug 03 '26 08:08

Josh M.


1 Answers

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

like image 124
Norman Avatar answered Aug 05 '26 10:08

Norman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!