I am using the flatpak of Android Studio in one of the atomic desktop spins (eg: Silverblue).
When I attempt to start a virtual AVD it times out and does not start the AVD.
Within the log output, I am seeing the following: UNAVAILABLE: Network closed for unknown reason
. Could this indicate that I need to enable some flatpak or udev permission?
Are any of you, on an atomic desktop, able to use the Android Studio flatpak to successfully debug an apk? Perhaps I should be using a different approach than a virtual AVD?
Below is the full log output:
2024-11-09 14:20:20,311 [ 47103] WARN - Emulator: Pixel 6 API 34 - File System is not ext4, disable QuickbootFileBacked feature
2024-11-09 14:20:20,493 [ 47285] WARN - Emulator: Pixel 6 API 34 - Your GPU drivers may have a bug. Switching to software rendering.
2024-11-09 14:20:20,495 [ 47287] WARN - Emulator: Pixel 6 API 34 - emuglConfig_get_vulkan_hardware_gpu: Failed to create vulkan instance error code: -9
2024-11-09 14:20:20,657 [ 47449] WARN - Emulator: Pixel 6 API 34 - *** Basic token auth should only be used by android-studio ***
2024-11-09 14:20:21,341 [ 48133] WARN - #c.i.o.a.ActionStub - ActionGroup should be registered using <group> tag: id="android.device.liveedit.status" class="com.android.tools.idea.editors.liveedit.ui.LiveEditNotificationGroup"
2024-11-09 14:20:42,747 [ 69539] WARN - #com.android.tools.idea.streaming.emulator.EmulatorController - android.emulation.control.EmulatorController/streamScreenshot call failed - UNAVAILABLE: Network closed for unknown reason
2024-11-09 14:20:42,747 [ 69539] WARN - #com.android.tools.idea.streaming.emulator.EmulatorController - android.emulation.control.EmulatorController/streamNotification call failed - UNAVAILABLE: Network closed for unknown reason
2024-11-09 14:20:42,769 [ 69561] WARN - Emulator: Pixel 6 API 34 - Emulator terminated with exit code 139
2024-11-09 14:20:43,238 [ 70030] WARN - #com.android.sdklib.deviceprovisioner.DeviceAction - The emulator process for AVD Pixel_6_API_34 has terminated.
com.android.tools.idea.avdmanager.EmulatorConnectionListener$EmulatorTerminatedException: The emulator process for AVD Pixel_6_API_34 has terminated.
at com.android.tools.idea.avdmanager.EmulatorConnectionListener$WaitForEmulatorTask.run(EmulatorConnectionListener.java:93)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport$executeOnPooledThread$1.run(AnyThreadWriteThreadingSupport.kt:134)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at com.intellij.util.concurrency.ContextCallable.call(ContextCallable.java:32)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Unknown Source)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)