Package Details: android-studio 2023.3.1.18-1

Git Clone URL: https://aur.archlinux.org/android-studio.git (read-only, click to copy)
Package Base: android-studio
Description: The official Android IDE (Stable branch)
Upstream URL: https://developer.android.com/
Keywords: android
Licenses: Apache
Submitter: TamCore
Maintainer: kordianbruck (SailReal)
Last Packager: SailReal
Votes: 1054
Popularity: 2.89
First Submitted: 2013-05-15 19:45 (UTC)
Last Updated: 2024-05-01 17:40 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 51 Next › Last »

SajeOne commented on 2022-10-14 19:31 (UTC)

/opt/android-studio/jre/bin/java: symbol lookup error: /opt/android-studio/jre/lib/libnio.so: undefined symbol: initInetAddressIDs

friday commented on 2022-09-28 11:24 (UTC)

I recently got an issue with the whole UI becoming huge on all Android Studio packages (Canary and Beta also) with Gnome. Setting the scaling factor to 0.99 (gsettings set org.gnome.desktop.interface text-scaling-factor 0.99) "fixed" it.

karuiota commented on 2022-09-17 17:59 (UTC) (edited on 2022-09-17 17:59 (UTC) by karuiota)

This PKGBUILD is also missing Android Virtual Device dependencies.

AVDs won't start, stating "Emulator terminated with exit code 127".

Log hunting brought me to install 4 packages that solved the issue: libpulse, nss, libxcomposite, libxcursor.

karuiota commented on 2022-09-17 17:19 (UTC)

This PKGBUILD is missing font configuration runtime dependencies.

Running it within a new podman container will result in a fatal error: "UI initialization failed com.intellij.ide.plugins.StartupAbortedException: UI initialization failed". Later in the error message it says it was caused by a null pointer exception regarding FontConfiguration, X11FontManager, SunFontManager, and FcFontManager.

So, I looked at the dependencies for the official IntelliJ package (Android Studio is based on IntelliJ) and I noticed that a few dependencies were absent from the this package (some of which seemed very relevant): ttf-font, libdbusmenu-glib, fontconfig, hicolor-icon-theme, giflib. Installing all of these dependencies immediately resolved the issue.

<deleted-account> commented on 2022-09-09 09:59 (UTC)

I recently installed Android Studio but when I want to start the emulator, can't start it, and in the logs I'm getting Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

I reinstalled it but the problem persist, could be that I'm missing some qt dependency?

allexj commented on 2022-08-27 12:08 (UTC) (edited on 2022-08-27 12:11 (UTC) by allexj)

If you encounter the error: process for avd emulator has terminated and you see logs in terminal like: ERROR - Emulator: - Emulator terminated with exit code 1 or at java.base/java.lang.Thread.run(Thread.java:829) ERROR - Emulator: Android Studio Chipmunk | 2021.2.1 Patch 2 Build #AI-212.5712.43.2112.8815526 ERROR - Emulator:- JDK: 11.0.12; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o." or "PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value [/opt/android-sdk]!....

here is how to fix: https://stackoverflow.com/a/58724345/5953720

and start android-studio via terminal

bazza commented on 2022-06-07 20:00 (UTC)

/opt/android-studio/jre/bin/java: symbol lookup error: /opt/android-studio/jre/lib/libnio.so: undefined symbol: initInetAddressIDs

ntsk commented on 2022-05-01 11:03 (UTC)

After the update, I am unable to start the program...

2022-05-01 19:57:06,866 [    402]  ERROR - llij.ide.plugins.PluginManager - Expected static method 'void com.intellij.util.ui.EdtInvocationManager.invokeAndWaitIfNeeded(java.lang.Runnable)' 
java.lang.IncompatibleClassChangeError: Expected static method 'void com.intellij.util.ui.EdtInvocationManager.invokeAndWaitIfNeeded(java.lang.Runnable)'
    at com.intellij.openapi.application.impl.ApplicationImpl.<init>(ApplicationImpl.java:161)
    at com.intellij.idea.ApplicationLoader.executeInitAppInEdt(ApplicationLoader.kt:60)
    at com.intellij.idea.ApplicationLoader.access$executeInitAppInEdt(ApplicationLoader.kt:1)
    at com.intellij.idea.ApplicationLoader$initApplication$1$1.run(ApplicationLoader.kt:363)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2022-05-01 19:57:06,868 [    404]  ERROR - llij.ide.plugins.PluginManager - Android Studio Bumblebee | 2021.1.1 Patch 3  Build #AI-211.7628.21.2111.8309675 
2022-05-01 19:57:06,872 [    408]  ERROR - llij.ide.plugins.PluginManager - JDK: 11.0.11; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. 
2022-05-01 19:57:06,872 [    408]  ERROR - llij.ide.plugins.PluginManager - OS: Linux 

Start Failed
Internal error. Please refer to https://code.google.com/p/android/issues

Linux version 5.17.3-arch1-1 (linux@archlinux) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT Thu, 14 Apr 2022 01:18:36 +0000

rajsav commented on 2022-04-27 14:02 (UTC)

FYI - I had the following 3 issues when installing and trying to run emulator:

1) Virtualisation needed to be switched on in my BIOS (quite annoying as I was running on a headless server so needed a trip to where the machine was)

2) needed package libpulse installed (Guess this should be a dependency)

3) Didn't work with latest openjdk (version 17 at the time) - Had to downgrade to package jdk11-openjdk