Package Details: anbox-git 1:r1350.04ac697-10

Git Clone URL: https://aur.archlinux.org/anbox-git.git (read-only, click to copy)
Package Base: anbox-git
Description: Running Android in a container
Upstream URL: http://anbox.io/
Licenses: GPL3
Conflicts: anbox-launchers
Replaces: anbox-launchers
Submitter: irtimmer
Maintainer: C_Schmidpeter (ahmubashshir)
Last Packager: ahmubashshir
Votes: 141
Popularity: 4.83
First Submitted: 2017-04-12 21:41
Last Updated: 2021-07-20 16:05

Pinned Comments

ahmubashshir commented on 2021-07-10 17:20

@cyberpunkrocker, about
1, we'll be sticking with lxc-git until the next revision bump.
2, This solution is only for wayland session, if your kernel doesn't have android support, this won't work.
3, Are you even a contributor of anbox upstream? read this and this. And afaik, lxc==4.0.9 was released before merging this. so only lxc-git worked when I tested, and they still didn't bump revision

@JuniorJPDJ, about
1, see @cyberpunkrocker/3
2, anbox upstream now provides the functionality provided by anbox-launchers-git, in #1639 and #1753, and these conflicts with anbox-launchers.

@emceebois, about this comment,
1. See @cyberpunkrocker/1.
2. You need to enable systemd-networkd to get networking in anbox. And sometimes it doesn't work with persistent naming of interfaces enabled, and if you didn't know, 'eth0' will only appear if you disable persistent naming of interfaces, with persistent naming, you'll get 'enpXsY' or something like that.
3. See @JuniorJPDJ/2.
4. See 1.

anbox-git compiles successfully with lxc, but the session manager dumps core...

irtimmer commented on 2018-01-19 10:35

WARNING: Before you go ahead and install Anbox on your system, please keep in mind that Anbox is not yet stable. Not every feature is working well yet. You will find bugs, see crashes and unexpected problems. As this is a Git package, patches should go upstream as they will not be bundled with the package.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Anty0 commented on 2021-07-23 08:10

@ssdjaggi https://wiki.archlinux.org/title/Anbox

Hope it helps. :)

ssdjaggi commented on 2021-07-23 04:33

I am new to arch please instruct me how to install anbox on my computer. I install it but its not working. Thanks in advance.

cyberpunkrocker commented on 2021-07-10 18:24

@ahmubashshir about point 2: I'm using x11 and linux-zen kernel, not wayland. All I can say that I've had that dbus issue with anbox for several days now, and the only solution I've found which have worked is setting EGL_PLATFORM=x11 before starting anbox-container-manager.service, just like described in the thread...

C_Schmidpeter commented on 2021-07-10 17:32

In case others experience that issue too: I've recently updated to linux-xanmod-anbox 5.12.15-1, but that seems to have caused mounting binderfs to fail. Running with linux-zen 5.12.15.zen1-1 now and it mounts normally again.

ahmubashshir commented on 2021-07-10 17:20

@cyberpunkrocker, about
1, we'll be sticking with lxc-git until the next revision bump.
2, This solution is only for wayland session, if your kernel doesn't have android support, this won't work.
3, Are you even a contributor of anbox upstream? read this and this. And afaik, lxc==4.0.9 was released before merging this. so only lxc-git worked when I tested, and they still didn't bump revision

@JuniorJPDJ, about
1, see @cyberpunkrocker/3
2, anbox upstream now provides the functionality provided by anbox-launchers-git, in #1639 and #1753, and these conflicts with anbox-launchers.

@emceebois, about this comment,
1. See @cyberpunkrocker/1.
2. You need to enable systemd-networkd to get networking in anbox. And sometimes it doesn't work with persistent naming of interfaces enabled, and if you didn't know, 'eth0' will only appear if you disable persistent naming of interfaces, with persistent naming, you'll get 'enpXsY' or something like that.
3. See @JuniorJPDJ/2.
4. See 1.

anbox-git compiles successfully with lxc, but the session manager dumps core...

C_Schmidpeter commented on 2021-07-10 16:58

@cyberpunkrocker Thanks for pointing that out. I have some local issue with mounting binderfs, which I'm fixing on my system. Then I'll update the dependencies and the other points pointed out.

cyberpunkrocker commented on 2021-07-10 16:00

There are still 'lxc-git' in depends= and 'lxc' in makedepends=. Can't you make up your mind which one you want? (Just asking)

cyberpunkrocker commented on 2021-07-10 15:48

anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity [ 2021-07-10 15:31:04] [daemon.cpp:61@Run] [org.freedesktop.DBus.Error.ServiceUnknown] The name org.anbox was not provided by any .service files

In case someone else has been struggling with anbox giving the previous error, here's the solution:

https://github.com/anbox/anbox/issues/1586

Weird issue, weird solution, no-one seems to know why it happens or why the solution works... but it works!

TL;DR EGL_PLATFORM=x11

PedroHLC commented on 2021-07-07 12:24

I've mirrored this repo in https://github.com/chaotic-aur/pkgbuild-anbox-git and invited current maintainers to maintain it.

Open PRs there and once merged I can ping @ahmubashshir on telegram to roll it back to here. Or @cschmid can add @chaotic-aur as co-maintainer and we'll have a GitHub action to automatically do it...

emceebois commented on 2021-07-05 22:44

I manually uninstalled lxc-git and reinstalled lxc 4.0.6 after installing the latest anbox-git. This allowed me to run the session manager again, but networking was broken and the fix described in https://github.com/anbox/anbox/issues/443 no longer worked, giving the error 'Cannot find device "eth0"'. I assume this is because anbox-bridge no longer comes with anbox-git and needs to be running for those commands to work.

If the maintainers could please address the following issues in the next build, that would be very helpful:

  1. Set the lxc dependency to the correct version.
  2. Restore anbox-bridge functionality
  3. Fix the issue @JuniorJPDJ identified of anbox-git now reporting conflict with anbox-launchers-git
  4. Fix the issue @cyberpunkrocker identified of duplicate entries in depends and makedepends

I understand this is a lot to ask. Please let me know if any additional information would be helpful in getting this package updated.