This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:edge2:development:android:install-toolchains [2022/08/02 21:34] haylrn [Edge2 Install Toolchains] |
products:sbc:edge2:development:android:install-toolchains [2024/09/18 22:06] (current) william |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{indexmenu_n> | ||
| + | |||
| + | |||
| ====== Edge2 Install Toolchains ====== | ====== Edge2 Install Toolchains ====== | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| - | This document mainly describes how to install the tools used to compile | + | This document mainly describes how to install the tools used to compile |
| - | ===== Install | + | ==== Install |
| - | To build an environment for compiling Android. The following software packages need to be installed: | + | 1. To build an environment for compiling Android. The following software packages need to be installed. |
| ```shell | ```shell | ||
| Line 16: | Line 19: | ||
| ``` | ``` | ||
| - | More instructions are available [[https:// | + | ==== Use docker container |
| - | ===== See Also ===== | + | |
| + | 1. Install docker. | ||
| + | ```shell | ||
| + | $ sudo apt update | ||
| + | $ sudo apt install docker docker.io | ||
| + | ``` | ||
| + | 2. Pull the khadas docker image. | ||
| + | |||
| + | ```shell | ||
| + | $ sudo docker pull wesion/ | ||
| + | ``` | ||
| + | |||
| + | 3. Run the docker container using the following command. | ||
| + | |||
| + | ```shell | ||
| + | $ sudo docker run --privileged -i -t -v / | ||
| + | ``` | ||
| + | |||
| + | |||
| + | More instructions are available [[https:// | ||
| + | ===== See Also ===== | ||
| - | ===== Introduction ===== | ||