Skip to content

Commit

Permalink
light
Browse files Browse the repository at this point in the history
  • Loading branch information
TomGarden committed Feb 27, 2024
1 parent 3ff929e commit 38eab8f
Show file tree
Hide file tree
Showing 6 changed files with 300 additions and 401 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ CPU : Intel(R) Core(TM)
这里做的只是一个个人操作记录 , 你应该有你自己的操作记录 .

## 0x01. 事先准备
1. sudo apt-get install git-core gnupg flex bison build-essential zip curl zlib1g-dev libc6-dev-i386 libncurses5 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig
1. sudo apt-get install git-core gnupg flex bison build-essential zip curl zlib1g-dev libc6-dev-i386 libncurses5 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig ccache

2. 下载&安装 open-JDK-7

Expand All @@ -27,6 +27,17 @@ sudo mv /usr/bin/python /usr/bin/python.bak
sudo ln -s /usr/bin/python3 /usr/bin/python
```

Ubuntu 20 找不到 repo 包 , 需要[手动安装](https://askubuntu.com/a/1276007)

You can install it manually as well as it's a single script.
```
$ mkdir -p ~/.bin
$ PATH="${HOME}/.bin:${PATH}"
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
$ chmod a+rx ~/.bin/repo
```


## 0x03. [下载源代码](https://source.android.com/docs/setup/download/downloading?hl=zh-cn)

0. repo 指令参考 : https://source.android.com/docs/setup/create/repo?hl=zh-cn#sync
Expand Down Expand Up @@ -250,8 +261,9 @@ make: *** [out/host/linux-x86/obj32/SHARED_LIBRARIES/libart-compiler_intermediat

```
lunch aosp_x86_64-eng
make clean
make clobber
make -j8
make -j8 &>> log.log
---------------------------------------------------------
Please submit a full bug report,
with preprocessed source if appropriate.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Ubuntu 18.04 默认源里没有 jdk7 : https://askubuntu.com/a/857218
2. sudo apt-get upgrade
3. 替换源为 ubuntu14.04 : https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
4. sudo apt-get update
5. sudo apt-get remove tzdatad // 直接安装因为依赖原因失败 : https://www.cnblogs.com/suwy/p/8569800.html
5. sudo apt-get remove tzdata // 直接安装因为依赖原因失败 : https://www.cnblogs.com/suwy/p/8569800.html
6. sudo apt-get install openjdk-7-*
7. 替换源为 ubuntu18.04 : https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
8. sudo apt-get update
Expand Down
Loading

0 comments on commit 38eab8f

Please sign in to comment.