Play store on Linux
Hello everyone, some time ago, I asked myself a question: can I use the Google Play Store on my computer, which runs Garuda Linux, a derivative of Arch Linux.
While researching online, I found that it could be done via an application called "Anbox." I installed this application, but it displays a white window with the green Android robot, and below it, it says "start...". So far, no problem, but the window closes after a few moments without launching the application. I've restarted the application several times but to no avail. After searching for solutions online, but without success, I turned to you, who surely know what to do to successfully launch Anbox.
(I've also heard about a more or less equivalent application: "Waydroid." Do you know it? Would you recommend it?)
Thank you in advance.
4 réponses
Hello,
I have never used this application, but I think the starting point is to do some research because you are probably not the only person experiencing the problem. It seems to be a common issue (see the results here). I went through the first few but did not see any convincing answers. This link seems quite promising, though, and will allow you to check if you installed anbox correctly.
As for waydroid, I suggest setting it aside in this discussion, and if you encounter problems with this application, feel free to open a new topic specifically for it.
Good luck
Thanks for the links, I will check them out right away :)
I also heard about a kernel module called binder and ashmem. Do you know what it is? I read that they are essential for the functioning of Anbox...
Here is a link that介绍binder and ashmem.
Do you have the answers to your questions regarding the initial topic?
Since they seem to be kernel modules, you should normally just load them (if they are not already loaded). On Linux, you would use the modprobe command. Can you try, as mentioned in this discussion:
sudo modprobe ashmem_linux binder_linux
Hello,
Concerning binder and ashmem, their installation is documented here. The corresponding modules are indeed binder_linux and ashmem_linux and load correctly with modprobe, as I suspected (#12). I imagine you need to run:
sudo pacman -S anbox-modules-dkms sudo modprobe binder_linux devices=binder,hwbinder,vndbinder,anbox-binder,anbox-hwbinder,anbox-vndbinder sudo modprobe ashmem_linux
Check that the modules have been loaded with:
lsmod
If it works, move on to the section 2 of the documentation. Otherwise, let me know the error messages.
Good luck
It's always better to prioritize installations via your package manager (pacman in your case). This way, what you install is consistent with the rest of your system and you are sure to have all the necessary dependencies.
In this case, you can install anbox-modules-dkms via pacman and I assume the same goes for anbox-git.
Manual installations by retrieving the sources (git clone ...) are only of interest when you cannot find the appropriate package with your package manager. Their main disadvantage is that they are not updated with the system (with pacman), since the installation was not done with the package manager.
Hello, excuse me for my delay, I had a breakdown on my PC and I haven’t had the chance to respond to you. I switched to Ubuntu but I will soon have a powerful enough computer to run a virtual machine. I will set up an Arch Linux on VirtualBox or VMware, and we will see the commands you sent me.
Thanks again,
Appstore Geek
Where did you read that? Why install anbox on Archlinux in a VM under Ubuntu... when you can directly install andbox on Ubuntu? See this page.
I read this on the Internet and it is just as impossible for me to install anbox on Ubuntu as it is on Arch.
Furthermore, the purpose of a forum is not just to solve our personal problem, but also to help others who are in the same difficulty as us. So by creating a VM, I hope to still find the solution. Because even if I don't do anything with it, others in the same situation will at least have the solution.
Solidarity above all :)