You are not logged in.
I'm trying to install Android Studio via Discovery app, from Flathub. The only issue is that the Discovery app keeps crashing during install, and I don't know why. Logs may shed some light into why it keeps happening. I need to know where to look for them tho.
EDIT: I just tried it again, once it advances to 100%, it crashes. So it downloads it fully, but it crashes immediately after. So it doesn't install at all. I don't think that storage space is the issue. Because there is plenty of room on my disk space, I've got like 150GiB free (out of 237GiB, so like 36% is taken, therefore about 64% is free), Android Studio certainly doesn't take up that much space. There has to be a different reason. As I said, logs may shed some light into why it keeps crashing at 100% when installing this specific program.
Last edited by Polda18 (2024-12-10 22:59:18)
Offline
Moderator Note
There is a 250 x 250 pixels / 50 Kb limit for pictures on forum, please edit your post to comply with the rules.
see https://wiki.archlinux.org/title/Genera … s_and_code for details
<end-of-moderator-note>
KDE sends log messages to the journal, look there.
You do have flatpak installed & configured as described in the wiki ?
Also look at https://wiki.archlinux.org/title/Android#Android_Studio
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Do you provide a custom tag for images that are bigger to be rescaled? If not, remove the picture then. It's a simple screenshot taken with Spectacle and uploaded to Imgur with that tool, it's not essential to the post, I just wanted to showcase it in the Discovery app.
Oh, and the 50KiB size limit is bogus. How are you supposed to include crucial screenshots in your posts? Post a simple link to them and tell people to click? Because they'll take more than 50KiB, and they are not hosted on the forums, they are actually on media hostings, like Imgur for example. An ordinary user will not take an effort to rescale the image to use it as a thumbnail, just to comply with the size limit, and provide a link to a server that displays the full image. They'll either just describe what they're seeing, or they'll just post a link and tell people to click so they can see (which they would do anyway, just to see what's on the thumbnail).
You know what? I removed the picture for you. I'm not resising it for you. First of all, there would be nothing to see at that small size, so I would have to make it a link to full size anyway, and second of all, it's not crucial to the post anyway, so if it's not allowed, then I'm not showing it. Simple. As for the rest of your reply, thank you for informations, I'll check it out and see.
Last edited by Polda18 (2024-12-10 23:01:13)
Offline
Moderator note.
Sometimes moderators edit posts with big pics to replace the pics with with links, sometimes the pics are removed.
I prefer asking posters to do it before taking either of those actions.
You agreed to follow our rules when you registered and the link I posted describes them.
In case you missed it, this is the relevant part :
Do not post full screen pictures; use links to the images instead, optionally with thumbnails. Any image with dimensions greater than 250×250px or over 50 KiB in size will be removed.
<end of moderator note>
Looking forward to hearing/reading what you find out.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I tried to install Android Studio again using Discover app, and then I ran this command: journalctl --since="2024-12-14 10:28"
This is the output:
pro 14 10:28:07 archlinuxx-laptop systemd[1]: Starting flatpak system helper...
pro 14 10:28:07 archlinuxx-laptop systemd[1]: Started flatpak system helper.
pro 14 10:28:08 archlinuxx-laptop systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
pro 14 10:28:08 archlinuxx-laptop plasma-discover[4134]: libostree pull from 'flathub' for runtime/com.google.
AndroidStudio.Locale/x86_64/stable complete
security: GPG: summary+commit
security: SIGN: disabled http: TLS
non-delta: meta: 6 content: 1
transfer: secs: 0 size: 5,7 kB
pro 14 10:28:08 archlinuxx-laptop plasma-discover[4134]: /var/tmp/flatpak-cache-1ODGY2
/com.google.AndroidStudio.Locale-30AIY2/repo-hmjUWN: Pulled runtime/com.google.AndroidStudio.Locale/x86_64/sta
ble from flathub
pro 14 10:28:08 archlinuxx-laptop systemd[1]: var-tmp-flatpak\x2dcache\x2d1ODGY2-com.google.AndroidStudio.Loca
le\x2d30AIY2.mount: Deactivated successfully.
pro 14 10:28:08 archlinuxx-laptop flatpak-system-helper[4228]: system: Pulled runtime/
com.google.AndroidStudio.Locale/x86_64/stable from /var/lib/flatpak/repo/tmp/flatpak-cache-PO5HY2/repo-hmjUWN
0m
pro 14 10:28:08 archlinuxx-laptop flatpak-system-helper[4228]: system: Installed runti
me/com.google.AndroidStudio.Locale/x86_64/stable from flathub
pro 14 10:28:10 archlinuxx-laptop plasma-discover[4134]: qrc:/qt/qml/org/k
de/discover/qml/ProgressView.qml:42:9: QML OverlaySheet: Binding loop detected for property "implicitHeight":
0m
file:///usr/lib/qt6/qml/org/kde/kirigam
i/templates/OverlaySheet.qml:132:5
pro 14 10:28:10 archlinuxx-laptop plasma-discover[4134]: qrc:/qt/qml/org/k
de/discover/qml/ProgressView.qml:42:9: QML OverlaySheet: Binding loop detected for property "implicitHeight":
0m
file:///usr/lib/qt6/qml/org/kde/kirigam
i/templates/OverlaySheet.qml:132:5
pro 14 10:28:10 archlinuxx-laptop plasma-discover[4134]: qrc:/qt/qml/org/k
de/discover/qml/ProgressView.qml:42:9: QML OverlaySheet: Binding loop detected for property "implicitHeight":
0m
file:///usr/lib/qt6/qml/org/kde/kirigam
i/templates/OverlaySheet.qml:132:5
pro 14 10:28:10 archlinuxx-laptop plasma-discover[4134]: qrc:/qt/qml/org/k
de/discover/qml/ProgressView.qml:42:9: QML OverlaySheet: Binding loop detected for property "implicitHeight":
0m
file:///usr/lib/qt6/qml/org/kde/kirigam
i/templates/OverlaySheet.qml:132:5
pro 14 10:28:10 archlinuxx-laptop plasma-discover[4134]: qrc:/qt/qml/org/k
de/discover/qml/ProgressView.qml:42:9: QML OverlaySheet: Binding loop detected for property "implicitHeight":
0m
file:///usr/lib/qt6/qml/org/kde/kirigam
i/templates/OverlaySheet.qml:132:5
pro 14 10:28:10 archlinuxx-laptop plasma-discover[4134]: qrc:/qt/qml/org/k
de/discover/qml/ProgressView.qml:42:9: QML OverlaySheet: Binding loop detected for property "implicitHeight":
0m
file:///usr/lib/qt6/qml/org/kde/kirigam
i/templates/OverlaySheet.qml:132:5
pro 14 10:28:11 archlinuxx-laptop plasma-discover[4134]: libostree pull from 'flathub' for app/com.google.Andr
oidStudio/x86_64/stable complete
security: GPG: summary+commit
security: SIGN: disabled http: TLS
delta: parts: 1 loose: 3
transfer: secs: 2 size: 2,2 MB
pro 14 10:28:27 archlinuxx-laptop systemd[1]: systemd-localed.service: Deactivated successfully.
pro 14 10:29:14 archlinuxx-laptop plasmashell[844]: The cached device pixe
l ratio value was stale on window update. Please file a QTBUG which explains how to reproduce.
pro 14 10:29:15 archlinuxx-laptop plasmashell[844]: The cached device pixe
l ratio value was stale on window update. Please file a QTBUG which explains how to reproduce.
pro 14 10:29:23 archlinuxx-laptop plasma-discover[4134]: qrc:/qt/qml/org/k
de/discover/qml/ProgressView.qml:42:9: QML OverlaySheet: Binding loop detected for property "implicitHeight":
0m
file:///usr/lib/qt6/qml/org/kde/kirigam
i/templates/OverlaySheet.qml:132:5
pro 14 10:29:23 archlinuxx-laptop plasma-discover[4134]: qrc:/qt/qml/org/k
de/discover/qml/ProgressView.qml:42:9: QML OverlaySheet: Binding loop detected for property "implicitHeight":
0m
file:///usr/lib/qt6/qml/org/kde/kirigam
i/templates/OverlaySheet.qml:132:5
pro 14 10:29:23 archlinuxx-laptop plasma-discover[4134]: qrc:/qt/qml/org/k
de/discover/qml/ProgressView.qml:42:9: QML OverlaySheet: Binding loop detected for property "implicitHeight":
0m
file:///usr/lib/qt6/qml/org/kde/kirigam
i/templates/OverlaySheet.qml:132:5
pro 14 10:29:23 archlinuxx-laptop plasma-discover[4134]: qrc:/qt/qml/org/k
de/discover/qml/ProgressView.qml:42:9: QML OverlaySheet: Binding loop detected for property "implicitHeight":
0m
file:///usr/lib/qt6/qml/org/kde/kirigam
i/templates/OverlaySheet.qml:132:5
pro 14 10:29:23 archlinuxx-laptop plasma-discover[4134]: qrc:/qt/qml/org/k
de/discover/qml/ProgressView.qml:42:9: QML OverlaySheet: Binding loop detected for property "implicitHeight":
0m
file:///usr/lib/qt6/qml/org/kde/kirigam
i/templates/OverlaySheet.qml:132:5
pro 14 10:29:23 archlinuxx-laptop plasma-discover[4134]: qrc:/qt/qml/org/k
de/discover/qml/ProgressView.qml:42:9: QML OverlaySheet: Binding loop detected for property "implicitHeight":
0m
file:///usr/lib/qt6/qml/org/kde/kirigam
i/templates/OverlaySheet.qml:132:5
It seems like the installation was successful, there's nothing, other than some loop detection, but it was just a warning, not an error. There's no error message in the logs, although there are some kernel system logs that look like a core memory dump (looks like SIGSEG, but I'm not sure if it's related). The Discover app crashed, but there's nothing in the system logs regarding that it seems. I genuinely have no idea what went wrong. The logs say it was installed, yet I can't find it on my machine.
NOTE: Before running the journalctl command, I did prepend the `LC_ALL=C.UTF-8` command before that in the console (assuming that's what I needed to do). I even tried to run it separately before doing it. The output is largely in English, because system keeps the logs in English, but the dates are in Czech. The LC command did nothing. Did I do that right? Where do I need to prepend the command?
EDIT: Oh, and the `archlinuxx-laptop` hostname was a mistake. There's an extra `x` in the name, it's a typo. I could fix it in the `/etc/hostname` file, but I'm quite lazy to do it. Plus, it kinda gives it some unique character, so I'm gonna keep the typo.
Last edited by Polda18 (2024-12-14 10:30:14)
Offline
If you want to know if LC_ALL=C.UTF-8 works , run
$ locale
$ LC_ALL=C.UTF-8 locale
and compare the outputs.
Often when troubleshooting you want to look at the system journal (requires root rights) , not as normal user.
Discover & archlinux is not a good combo, and flatpak comes with its own issues.
I strongly suggest you only use discover as a last resort at least until you know a lot more about the inner workings of archlinux .
For now install flatpak using pacman and use the manual commands from chapter 2 & 3 of https://wiki.archlinux.org/title/Flatpa … positories to install flatpaks .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Oh, I did it wrong. I thought it's a separate command, not something that needs to be actually part of the command (one command). So I ran it with a semicolon dividing the commands. Nevermind.
The reason why I use Discover is because it's easy and it provides automatic updates. Does pacman provide the same thing? Discover works for any other app, just not Android Studio for some reason. Maybe I'll find other apps that don't work in Discovery. I installed Flatpak using pacman I guess, since Discovery kept whining it doesn't have a backend to use.
Discover I think is part of the KDE library, not related to Arch Linux necessarily (it can also be used with Debian I guess). I decided to use Arch Linux as I've heard so many good things about it. Well, it seems like there are downsides as well. I've come to find that some services I found on GitHub have spawned multiple instances spontaneously (OneDrive system tray icon). Some apps cannot be installed from Discovery for various reasons (not in Flathub repositories, or it crashes the Discovery app when installing).
For now, I guess I'll have to install Android Studio using pacman (if it even works, I've come to find that some packages that should be avaiable to pacman for archlinux, cannot be accessed, maybe it's my mirrorlist that's causing it). If it doesn't, I'll try manual flatpak, if that fails, then I guess I'll have to live without it on this pc. I should have sticked to Ubuntu when installing Linux on this machine.
EDIT: Installing using pacman was successful. https://i.imgur.com/68lCkz7.png
Last edited by Polda18 (2024-12-14 15:11:16)
Offline
Archlinux relies heavily on our own repositories which are managed by pacman , archlinux package manager which was started by judd vinet the founder of archlinux .
3rd party software management systems like KDE Discover , Gnome software , flatpak, snap , appimages , pip, conda etc typically need adjustments to cooperate with pacman .
Archlinux packages are created by running makepkg (part of pacman) on PKGBUILDs, PKGBUILDS are essentially are recipes to compile software and make adjustments necessary to allow the sw to work on archlinux .
There are manu=y similarities between PKGBUILDs , gentoo ebuilds and rpm *.spec files .
Arch official repos contain 14k+ packages and the user supported unofficial stuff can be found in Arch User Repository which has 89k+ packages .
Also we're very much a Do It Yourself distribution that's not a good fit for many.
I suggest you read archlinux wiki pages to get a feel how arch does things, here are a few links to get you started :
https://wiki.archlinux.org/title/Arch_Linux
https://wiki.archlinux.org/title/Pacman
https://wiki.archlinux.org/title/Arch_User_Repository
Last edited by Lone_Wolf (Yesterday 10:34:59)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thank you. I'm kinda lazy guy, so I guess I'll find some way to make flatpak & KDE Discovery work with Arch Linux environment much better that it is already, and I'll start with reading wiki I guess. My main system still remains Windows 11, which I use on my main PC I use for gaming, but I've decided to install Linux on my secondary PC (both are laptops, btw), which is more lightweighted and is ideal for travelling and school/office work. I've bought my secondary laptop when I needed a backup for my main gaming one that malfunctioned and I had to bring it to a repair shop. The issue was that Windows 11 that was preinstalled on it, didn't have enough memory (only 8GB RAM), and it was constantly choppy performance and network drivers often failed (Wi-Fi) resulting in me needing to reboot. Tough luck if I have an unsaved work that needs Internet connection to be saved (typically OneDrive files). I thought about Linux basically since I've first got the laptop and powered it on, because it was unbearable. But what distro to use? Ubuntu was ruled out, as when I first had Ubuntu, it was a dualboot with Windows 10 back in the day. Thought about Debian, Fedora, OpenSUSE, etc. And then I found Arch Linux, with an easy installer officially added. I thought, why not? Reflecting back, it may have been a mistake. But it's far too late to back off and install another distro, so I gotta deal with it. Afterall, I'm looking forward customizing it further for my needs later on.
Offline