I'm getting this error when attempting to install this, even when completely removing and reinstalling:
error: could not extract /opt/android-studio/plugins/android/lib/layoutlib.jar (Lzma library error: No progress is possible)
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: | 1089 |
Popularity: | 4.67 |
First Submitted: | 2013-05-15 19:45 (UTC) |
Last Updated: | 2025-04-23 17:19 (UTC) |
« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 53 Next › Last »
I'm getting this error when attempting to install this, even when completely removing and reinstalling:
error: could not extract /opt/android-studio/plugins/android/lib/layoutlib.jar (Lzma library error: No progress is possible)
@stefan65 you can change builddir to place with more space, for example: echo "BUILDDIR=/var/tmp/makepkg" >> ~/.config/pacman/makepkg.conf
Is there any chance of improving the installation procedure when running a system with 8 GB (or less) of RAM?
I only have 8 GB of RAM in my system and therefore /tmp
is 4 GB big. When installing updates for the android-studio
package, this leads to a failure if I do not delete the downloaded ZIP file after unzipping and the unzipped folder when starting package compression.
@KyronNextLevel Isn't fakeroot part of base-devel?
These packages shouldn't be included as dependencies for aur packages according to wiki. Am I right?
A dependency is missing for the last manjaro. I had to manually install fakeroot.
@Anty0 @Pryka Thanks I will try out symlink as my machine only has 8 GB of RAM. I tried to resize my tmp folder but when I rebooted I had a whole bunch of issues when booting up.
@racks I had this problem too. I used to symlink Android Studio SDK Manager's folder outside of the tmp folder, because I didn't have enough ram to just resize tmp.
@racks
I did.
android-studio heavily use /tmp/ which is tmpfs in Arch. And by default its half of your RAM. In some cases that can be not enough.
You can temporarily resize /tmpfs by "mount -o remount,size=16G,noatime /tmp"
Where size= is your desired size. It will come back to default after a reboot. Also, it shouldn't be more than your RAM size. Probably also not your max, cause you can end with OOM easily.
Anyone had issues with their tmp folder being too small?
I know that most user would prefer pre-compiled version, but the point is, if there is a version that build from source in AUR, it is possible to include it in community repository. Look at intellij-idea-community-edition
for example, user don't have to actually compile it. Binary package like intellij-idea-ce
will never be in Community repository.
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/