Page 1 of 1

Anbox - run Android in Linux

Posted: Sun 16 Apr 2017, 00:10
by ndujoe1
http://anbox.io/

collective comments on this project to run Android in a box in Linux.

Promising?
More development required?
Avoid like the plague.

Posted: Wed 21 Nov 2018, 00:07
by alistera
did anyone get this to work on puppy?

Posted: Wed 21 Nov 2018, 05:20
by dancytron
I tried to get it to work on Debian Dog Stretch.

I used these instructions.

https://github.com/anbox/anbox/blob/mas ... install.md

I got as far as running the install and got
error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory


Although libudev.so.1 does exist. Probably is not where expected and needs to be linked somewhere. I might try again later.

If anyone tries to repeat this, you need to:

1. install backports kernel to upgrade to kernel 4.18 to have necessary kernel modules.
http://murga-linux.com/puppy/viewtopic. ... 96#1006696 If you do this, you can avoid all the compiling kernel modules part.

2. run "snap" specifically in /usr/bin/snap to avoid conflict with Fred's file /usr/local/bin/snap. So, run "/usr/bin/snap install --devmode --beta anbox" instead of what the instructions tell you which is "snap install --devmode --beta anbox"

I might try it on an Ubuntu based dog and see if that works, but not tonight.

Posted: Wed 21 Nov 2018, 06:22
by nosystemdthanks
dancytron wrote:Although libudev.so.1 does exist. Probably is not where expected and needs to be linked somewhere.
i encounter this sort of thing most often when the file (the udev library in this example) exists but was not compiled with the needed options, or is the wrong version. including the "no such file or directory" part.

Posted: Wed 21 Nov 2018, 06:58
by belham2
dancytron wrote:I tried to get it to work on Debian Dog Stretch.

I used these instructions.

https://github.com/anbox/anbox/blob/mas ... install.md

I got as far as running the install and got
error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory


Although libudev.so.1 does exist. Probably is not where expected and needs to be linked somewhere. I might try again later.

If anyone tries to repeat this, you need to:

1. install backports kernel to upgrade to kernel 4.18 to have necessary kernel modules.
http://murga-linux.com/puppy/viewtopic. ... 96#1006696 If you do this, you can avoid all the compiling kernel modules part.

2. run "snap" specifically in /usr/bin/snap to avoid conflict with Fred's file /usr/local/bin/snap. So, run "/usr/bin/snap install --devmode --beta anbox" instead of what the instructions tell you which is "snap install --devmode --beta anbox"

I might try it on an Ubuntu based dog and see if that works, but not tonight.

Dancytron,

If you get this working, please post back here. I had, several years ago, ran Android in VirtualBox in WinXP using Bluestacks (was the only reason I kept a Windows box, of any kind, around). Then, 2-3 years ago I got it working in my full Debian hard drive installs. If you get this working in Fred's ddogs, which I assumed were a no-go given how Fred modded a lot of stuff in the OS, please let us know.

Posted: Fri 23 Nov 2018, 22:12
by dancytron
Exact same result for Bionic Dog.