'Problem with localization in Android Studio emulator
I created an emulator in Android Studio and didn't change any settings.
Options selected during creation:
Device: Pixel 4 (with play store)
System image: S (API 31)
I use archlinux as a system and downloaded the IDE via Toolbox and the emulator from Android Studio itself.
(Google map should appear)
I've already tried several things:
Disable system hardware acceleration by removing packages:
sudo pacman -Rs libva-mesa-driver mesa-vdpauDisable emulator VM acceleration on configs of avd:
hw.gpu.enabled=no hw.gpu.mode=offInstall android studio and android sdk via AUR;
Login in the system with X11;
Other android system images.
When I run the emulator through the terminal, the following log appears:
INFO | Android emulator version 31.2.8.0 (build_id 8143646) (CL:N/A)
WARNING | unexpected system image feature string, emulator might not function correctly, please try updating the emulator.
INFO | Info: Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. ((null):0, (null))
INFO | Warning: Could not find the Qt platform plugin "wayland" in "/home/arturbruno/Android/Sdk/emulator/lib64/qt/plugins" ((null):0, (null))
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
WARNING | cannot add library /home/arturbruno/Android/Sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so: failed
INFO | added library /home/arturbruno/Android/Sdk/emulator/lib64/vulkan/libvulkan.so
INFO | configAndStartRenderer: setting vsync to 60 hz
INFO | Sending adb public key [QAAAAEFDQe0/s2qiUY1XR14I/EEwGYaAJq3n1upABNQ/n5R7/zOcT9unMBqPnyHyAjaaad6Wsv5DyfGFJp1XeXhFlpbuPv76Eopy4LnTUaee6eMicK/qK+nHUvWh3R1K6+mttVB7XDzqDHKNzXm3VNvJuc8X/d8d0NIVj8px5vpw50tNwg/NUuYRkzQcB35LrWw7xmnV7gKYTMxEuRJ4GrIrgAbN1NdMknjUDL0hawq8rXW5gglI86m0yEMjMonH4mO0UpR93XOIvv7dxGnqpDzDo4MuIWNSocWSC1Sh1gtTOvMgn1FUCgY6LdNf9cZ27tgV5YH15jO8lq4OOtUbq61GIai+jYme6WtaiOn4SkFRzPMF77V+UWXHHLyTspM3vvcjr/LuE8x3Rgb7WKATmIXGjawhuQBNfeO9l7gUen9512VrVvWXDowiDeOGHCuGSjJLf/nhPgKqE53vJtiA4PqP3w9kvaMxJ2QoEtYKEh9Fz2OctS9JmBjWzTSxULGg/kVBGA7Y+nIWcAfPu3EKRU+3GwbZijhUV6/JuoDtisQgW1Pyd3C30/Ce6lcKgA4YqPBa7tZBoOwUtHjSJbkseH8j9vKaEERZ4icHL7AVllI1pVjB+0irfGpdVdOKRiUTU6wDgkfDr28ObLiOCO5YekAUvI2ig0xFPQRD0CEQuGRNVmd/XDjCfQEAAQA= arturbruno@unknown]
INFO | Rootcanal has been activated.
INFO | Started GRPC server at 127.0.0.1:8554, security: Local
INFO | Advertising in: /run/user/1000/avd/running/pid_40271.ini
ERROR | Unable to connect to adb daemon on port: 5037
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
