How to install anbox on manjaro?

I don’t know why. The problem must be with Anbox itself, not Manjaro.

  • Did you try opening any webpage in WebView Browser Tester?
  • Are you using anbox-image or something else?

I have tested through the webview tester and brave browser and it’s the default anbox image

did you install dnsmasq?

also try to use only one networking method at a time.

what’s dnsmasq?
I have tried that networking option and copied/paste the code from archwiki but still not working.
So did I need to change any parameter in that code?I just copied and pasted directly

Read the wiki page

How do I install anbox module dkms, I have kernel 5.9 I know it not there in aur anymore. Should I install kernel 5.4 or below

1 Like

read the arch wiki and this thread, DKMS is no longer needed

I follow all instruction but I always fail i even got error while making anbox-git and tried with snap I have 5.9 kernel and fish as default shell how I install anbox

This is my first reply on this forum. Just guide me if I did any mistake.

I’m on Linux 5.10.13-2-MANJARO kernel. I have run ls -1 /dev/{ashmem,binderfs} command, and it output as follows.

/dev/ashmem
/dev/binderfs:
binder
binder-control
hwbinder
vndbinder

Then I installed anbox-git AUR package, and it completed successfully.
But when I try to enable anbox-session-manager.service by running sudo systemctl enable anbox-session-manager.service but it gives Failed to enable unit: Unit file anbox-session-manager.service does not exist. output.

When I try to run anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity command, it takes a while and output [org.freedesktop.DBus.Error.ServiceUnknown] The name org.anbox was not provided by any .service files

I have search through internet but I found nothing… Thank you in advance!

EDIT:

Solved by enabling the service by sudo systemctl enable /usr/lib/systemd/user/anbox-session-manager.service command.

1 Like

ok so finally with all your help I figured out how to install anbox with linux59 here is the quick guide
so first
let’s issue


$ sudo mkdir /dev/binderfs
$ sudo mount -t binder binder /dev/binderfs

then after mounting binderfs

add the entry in the /etc/fstab file

binder                       /dev/binderfs binder   nofail  0      0

then install any anbox-image from aur
then after install image install anbox-git from aur
then first to enable network I used systemd-networkd
using this command


$ sudo systemctl enable --now systemd-networkd.service

then
enable anbox container


$ sudo systemctl enable --now anbox-container-manager.service

then enable


$ systemctl --user enable --now anbox-session-manager.service

and reboot your system
and then most probably anbox should be working

11 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.