libbsd is a dependency for the android emulator which should be added.
Search Criteria
Package Details: android-studio 2024.2.1.12-1
Package Actions
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: | 1080 |
Popularity: | 7.22 |
First Submitted: | 2013-05-15 19:45 (UTC) |
Last Updated: | 2024-12-02 21:46 (UTC) |
Dependencies (8)
- alsa-lib
- freetype2 (freetype2-qdoledAUR, freetype2-macosAUR, freetype2-gitAUR)
- libxrender
- libxtst
- which (busybox-coreutilsAUR)
- gtk2 (gtk2-maemoAUR, gtk2-patched-filechooser-icon-viewAUR) (optional) – GTK+ look and feel
- libgl (nvidia-340xx-utilsAUR, libglvnd-gitAUR, amdgpu-pro-oglpAUR, amdgpu-pro-oglp-legacyAUR, libglvnd) (optional) – emulator support
- ncurses5-compat-libsAUR (optional) – native debugger support
Required by (8)
- android-material-icons (optional)
- android-studio-launcher
- flutter-beta (optional)
- flutter-dev (optional)
- flutter-git (optional)
- flutter-intellij-patch (optional)
- jdk-android-studio
- kode-studio-bin (optional)
Sources (3)
ArMor007 commented on 2024-12-01 16:56 (UTC) (edited on 2024-12-01 16:56 (UTC) by ArMor007)
C0rn3j commented on 2024-10-26 17:04 (UTC)
2024.2 added a Wayland backend, not enabled by default. Works fine for me so far.
https://blog.jetbrains.com/platform/2024/07/wayland-support-preview-in-2024-2/
SailReal commented on 2024-10-16 12:31 (UTC)
@gamedragon and @mazharhussain thanks for the mention, we're now using the native launcher.
mazharhussain commented on 2024-10-16 06:24 (UTC) (edited on 2024-10-16 06:25 (UTC) by mazharhussain)
The latest version of Android Studio is giving this warning.
The IDE seems to be launched with a script launcher ('bin/studio.sh'). Please consider switching to a native launcher ('bin/studio') for better experience.
gromit commented on 2024-10-08 13:17 (UTC)
@soloturn: Please install base-devel
as instructed in https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started
It's not a dependency of android-studio
, it's needed for the packaging tools around it.
soloturn commented on 2024-10-08 12:51 (UTC)
why does android studio need debugedit to be packaged?
==> Sources are ready.
android-studio-2024.2.1.9-1: parsing pkg list...
==> ERROR: Cannot find the debugedit binary required fo
gamedragon commented on 2024-10-04 06:08 (UTC)
ln -s /opt/android-studio/bin/studio.sh $pkgdir/usr/bin/$pkgname
should be changed as
ln -s /opt/android-studio/bin/studio $pkgdir/usr/bin/$pkgname
quite commented on 2024-10-03 09:36 (UTC)
Upon starting up Android Studio now shows a messaging saying that it seems like it was started using bin/studio.sh
, and suggests that it be started using bin/studio
instead. Perhaps the PKGBUILD ln -s /opt/android-studio/bin/studio.sh $pkgdir/usr/bin/$pkgname
should be adjused.
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. :)
Pinned Comments
C0rn3j commented on 2024-10-26 17:04 (UTC)
2024.2 added a Wayland backend, not enabled by default. Works fine for me so far.
https://blog.jetbrains.com/platform/2024/07/wayland-support-preview-in-2024-2/