Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge2:development:android:install-toolchains

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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>5}}
 +
 +
 ====== Edge2 Install Toolchains ====== ====== Edge2 Install Toolchains ======
  
 ===== Introduction ===== ===== Introduction =====
  
-This document mainly describes how to install the tools used to compile Edge1 Android source code.+This document mainly describes how to install the tools used to compile Edge2 Android source code.
  
-===== Install =====+==== Install directly on PC ====
  
-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://source.android.com/source/initializing.html]]. +==== 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/khadas_android:v0.6
 +```
 +
 +3. Run the docker container using the following command.
 +
 +```shell
 +$ sudo docker run --privileged -i -t -v /home/you_name:/home/android wesion/khadas_android:v0.6 bash
 +```
 +
 +
 +More instructions are available [[https://source.android.com/source/initializing.html]].
 +===== See Also =====
  
  
-===== Introduction ===== 
Last modified: 2022/08/02 21:34 by haylrn