1

I tried using android virtual device which worked before but now it stops running after updating it.

Error message:

❯ android-studio
CompileCommand: exclude com/intellij/openapi/vfs/impl/FilePartNodeRoot.trieDescend bool exclude = true
2024-05-13 12:51:00,258 [    820]   WARN - #c.i.s.ComponentManagerImpl - com.android.tools.idea.flags.StudioFlags <clinit> requests com.android.tools.idea.flags.StudioFlagSettings instance. Class initialization must not depend on services. Consider using instance of the service on-demand instead.
2024-05-13 12:51:01,201 [   1763]   WARN - #c.i.n.i.NotificationGroupManagerImpl - Notification group Logcat is already registered (group=com.intellij.notification.NotificationGroup@7ea4be6d). Plugin descriptor: PluginDescriptor(name=Android, id=org.jetbrains.android, descriptorPath=plugin.xml, path=/opt/android-studio-canary/plugins/android, version=241.15989.150.2411.11792637, package=null, isBundled=true)
2024-05-13 12:51:07,006 [   7568]   WARN - #com.android.ddmlib - * daemon not running; starting now at tcp:5037
2024-05-13 12:51:10,007 [  10569]   WARN - #com.android.ddmlib - * daemon started successfully
2024-05-13 12:51:12,870 [  13432]   WARN - #com.android.tools.idea.progress.RepoProgressIndicatorAdapter - Errors during XML parse:
2024-05-13 12:51:12,871 [  13433]   WARN - #com.android.tools.idea.progress.RepoProgressIndicatorAdapter - Additionally, the fallback loader failed to parse the XML.
2024-05-13 12:51:24,961 [  25523]   WARN - Emulator: Pixel Fold API 30 - Emulator terminated with exit code 127
2024-05-13 12:51:24,963 [  25525]   WARN - #c.i.u.j.JBCefApp - JCefAppConfig.class is not from a JBR module, url: jar:file:/opt/android-studio-canary/lib/lib.jar!/com/jetbrains/cef/JCefAppConfig.class (Use JBR bundled with the IDE)
2024-05-13 12:51:25,961 [  26523]   WARN - #com.android.sdklib.deviceprovisioner.DeviceAction - The emulator process for AVD Pixel_Fold_API_30 has terminated.
com.android.tools.idea.avdmanager.EmulatorConnectionListener$EmulatorTerminatedException: The emulator process for AVD Pixel_Fold_API_30 has terminated.
    at com.android.tools.idea.avdmanager.EmulatorConnectionListener$WaitForEmulatorTask.run(EmulatorConnectionListener.java:93)
    at com.intellij.openapi.application.impl.RwLockHolder$executeOnPooledThread$1.run(RwLockHolder.kt:154)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
    at java.base/java.lang.Thread.run(Thread.java:840)

How can I fix this "jetbrains" class issue?

10
  • Uninstall the Jetbrains Toolbox, Remove Android Studio after backing up your project files. Redownload the new toolbox from the AUR, and use the new toolbox to reinstall Android Studio. Commented May 14, 2024 at 19:00
  • However, @eyoung100 I did not have it in the first place when it worked before. After updating the android studio, no matter whether I uninstall or reinstall with clearing cache and so on the error still persist even if I've installed the jetbrain's toolbox like you have suggested. Commented May 16, 2024 at 8:32
  • If you're on Windows: Press the Windows Key + R, type appdata, Browse to \LocalLow\Android Studio <version>\tmp\logs\idea.log, Open idea.log in Notepad, Ctrl +F: Search for SEVERE, Somewhere above SEVERE will be an entry that says Android Studio was Unable to start the emulator with a description, It will most likely say, not enough space. See here and here Commented May 16, 2024 at 16:26
  • @eyoung100 I am using it in my Arch Linux OS... NOT WSL on MS Windows OS. Commented May 18, 2024 at 15:46
  • Just Find idea.log and open it. Commented May 20, 2024 at 20:52

1 Answer 1

0

The issue is solved by installing lib32-libbsd from Arch repo.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.