Difference between revisions of "Anbox"

From Maemo Leste Wiki
Jump to navigationJump to search
(Created page with "= Installation = From extras apt install anbox = Usage = The initscript should automatically start anbox container-manager. supervise-daemon anbox-container-manager --s...")
 
Line 19: Line 19:


There is also an option with using '''anbox-launch.sh''' but I have not gotten it to work successfully.
There is also an option with using '''anbox-launch.sh''' but I have not gotten it to work successfully.
Please note that '''it takes a long time to start''' an activity for the first time. So be patient. Subsequent runs should be faster.

Revision as of 14:15, 18 January 2021

Installation

From extras

apt install anbox

Usage

The initscript should automatically start anbox container-manager.

supervise-daemon anbox-container-manager --start /usr/bin/anbox -- container-manager --daemon --privileged --data-path=/var/lib/anbox --android-image=/usr/share/anbox/android.img
\_ /usr/bin/anbox container-manager --daemon --privileged --data-path=/var/lib/anbox --android-image=/usr/share/anbox/android.img


As user:

anbox session-manager
anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity

There is also an option with using anbox-launch.sh but I have not gotten it to work successfully.

Please note that it takes a long time to start an activity for the first time. So be patient. Subsequent runs should be faster.