Package Details: android-studio 2024.1.2.13-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: 1071
Popularity: 5.72
First Submitted: 2013-05-15 19:45 (UTC)
Last Updated: 2024-09-22 18:00 (UTC)

Pinned Comments

SailReal commented on 2024-06-11 09:19 (UTC)

Hey all,

Important security update: A security vulnerability (https://www.cve.org/CVERecord?id=CVE-2024-37051) in the GitHub plugin (https://plugins.jetbrains.com/plugin/13115-github) available in Android Studio Iguana | 2023.2.1 and higher could expose access tokens to unauthorized parties.

Please read more in https://androidstudio.googleblog.com/2024/06/android-studio-jellyfish-202331-patch-2_10.html?m=1 to see if you're affected and need to revoke the access token.

Latest Comments

1 2 3 4 5 6 .. 52 Next › Last »

Kaddate commented on 2024-09-05 16:55 (UTC) (edited on 2024-09-05 16:55 (UTC) by Kaddate)

Hi,

I encountered an issue when trying to launch an Android emulator. Here is the error that was logged in idea.log:

2024-09-05 18:36:56,583 [15073433] INFO - Emulator: Medium Phone API 34 - /home/kaddate/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64: error while loading shared libraries: libbsd.so.0: cannot open shared object file: No such file or directory

I installed the libbsd package from the extra repository (https://archlinux.org/packages/extra/x86_64/libbsd/), and I was able to launch the emulator without any errors.

I checked the PKGBUILD of android-studio for the required dependencies and didn’t find any reference to libbsd. Would it be worth considering adding it as a dependency?

PS : I never contributed to AUR projects before and I don't know how to directly make a PR on the package.

onlyabyte commented on 2024-08-25 01:06 (UTC)

Hi all, I can confirm what zilot has said about the "libbsd" dependency. On a fresh install of Arch Linux with XFCE, I also got an issue where the Android Emulator wouldn't launch. It would simply terminate with:

the emulator process for "DEVICE NAME" avd has terminated

Installing the "libbsd" dep and restarting android-studio fixed the problem for me.

PS: I am new to the AUR so apologies if I have missed anything. :)

yukijoou commented on 2024-08-12 00:15 (UTC)

hi, this package seems to be using prebuilt binaries, but the AUR guidelines say that packages with prebuilt binaries should use the suffix -bin, is there an exception for this package?

SailReal commented on 2024-06-20 05:21 (UTC)

I'm currently on vacation, will update the package on 2024-06-22

SailReal commented on 2024-06-11 09:19 (UTC)

Hey all,

Important security update: A security vulnerability (https://www.cve.org/CVERecord?id=CVE-2024-37051) in the GitHub plugin (https://plugins.jetbrains.com/plugin/13115-github) available in Android Studio Iguana | 2023.2.1 and higher could expose access tokens to unauthorized parties.

Please read more in https://androidstudio.googleblog.com/2024/06/android-studio-jellyfish-202331-patch-2_10.html?m=1 to see if you're affected and need to revoke the access token.

murprakoso commented on 2024-05-19 01:55 (UTC)

During the reinstallation of Android Studio, an error occurred due to a truncated zstd input when extracting liblldb.so from the NDK plugin resources. This caused the transaction to abort and no packages were upgraded.

:: Processing package changes...  
(1/1) reinstalling android-studio [#######################################] 100%  
error: could not extract /opt/android-studio/plugins/android-ndk/resources/lldb/lib64/liblldb.so (Truncated zstd inp  
ut)  
error: problem occurred while upgrading android-studio  
error: could not commit transaction  
error: failed to commit transaction (transaction aborted)  
Errors occurred, no packages were upgraded.  
-> error installing: [/home/althea/.cache/yay/android-studio/android-studio-2023.3.1.18-1-x86_64.pkg.tar.zst] - exi  
t status 1

zilot commented on 2024-05-17 10:52 (UTC) (edited on 2024-05-17 10:54 (UTC) by zilot)

Fresh install of arch in a laptop, installed android-studio, I tried to build & run if everything was working, but the device manager was stuck on « starting up »

How did I fix this issue :

  • help

  • open show log in file manager

  • open idea.log

  • Files was telling me two things :

2024-05-17 12:36:19,100 [1353662] INFO - Emulator: Pixel 6a API 33 - Process finished with exit code 127

and

2024-05-17 12:36:19,097 [1353659] INFO - Emulator: Pixel 6a API 33 - /home/zilot/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64: error while loading shared libraries: libbsd.so.0: cannot open shared object file: No such file or directory

After installing the package libbsd (pacman -S libbsd) and restart android-studio, it worked fine.

Maybe there is a dependency to be added for this package ?

furai commented on 2023-12-03 10:49 (UTC) (edited on 2023-12-04 07:23 (UTC) by furai)

https://github.com/kordianbruck/arch-aur-android-studio/pull/17

There's updated version if anyone is willing to test. For me it updated without issues on 2 machines. But @SailReal had some problems. Would be nice if anyone was willing to help and test.

EDIT: That got merged in.

scott commented on 2023-11-13 13:41 (UTC) (edited on 2023-11-13 15:33 (UTC) by scott)

[SOLVED] When I run /opt/android-studio/bin/studio.sh (which I do just after installing android-studio from here), I have exactly the same error as SajeOne below:

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

can someone tell me how to fix this?

In my case, at least, i found a solution here: I simply needed to unset LD_LIBRARY_PATH.

(That being said, the fact is that before I unset it, it was set to /usr/lib64/nvidia/:/usr/lib32/nvidia:/usr/lib:. I was/am worried that merely unsetting LD_LIBRARY_PATH would break something. I'm (obviously) a newbie, but after some digging I found that it is /etc/X11/xinit/nvidia-xinitrc which set/exported the LD_LIBRARY_PATH, and this is called by the command nvidia-xrun which I use to start X.

So rather than unset LD_LIBRARY_PATH , I added the following line to my .bashrc file:

export LD_LIBRARY_PATH="/opt/android-studio/jbr/lib/:/usr/lib/jvm/default/lib/:${LD_LIBRARY_PATH}"

(I also removed the ~/.android directory that i had made during the trials-and-errors previous to finding that solution). And now /opt/android-studio/bin/studio.sh starts without error.

All this is from a newbie here, so YMMV. Corrections to the above gladly received. Hope this helps someone else