This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
products:sbc:edge2:development:android:install-toolchains [2022/07/15 23:37] 127.0.0.1 external edit |
products:sbc:edge2:development:android:install-toolchains [2024/09/18 22:06] (current) william |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | {{indexmenu_n> |
| + | |||
| + | |||
| + | ====== | ||
| ===== 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 15: | Line 18: | ||
| $ sudo apt-get install openjdk-8-jdk | $ sudo apt-get install openjdk-8-jdk | ||
| ``` | ``` | ||
| + | |||
| + | ==== Use docker container ==== | ||
| + | |||
| + | 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:// | More instructions are available [[https:// | ||
| ===== See Also ===== | ===== See Also ===== | ||
| - | |||