Commit 08c381d 1 parent ef786b6 commit 08c381d Copy full SHA for 08c381d
File tree 3 files changed +26
-24
lines changed
3 files changed +26
-24
lines changed Original file line number Diff line number Diff line change @@ -91,19 +91,19 @@ make release
91
91
92
92
#### macOS
93
93
94
- 1 . It's recommended that install Android [ SDK] ( https://developer.android.com/studio/index.html ) and [ NDK] ( https://developer.android.com/ndk/index.html ) manually or via Android Studio.
95
- 2 . Install [ Homebrew] ( http://brew.sh/ ) (If your is network is too slow, you could setup a [ Homebrew mirror] ( https://mirrors.ustc.edu.cn/help/brew.git.html ) ), then run:
94
+ 1 . Install [ Android SDK] ( https://developer.android.com/sdk/index.html )
96
95
96
+ 2 . Set up ANDROID_SDK_ROOT
97
97
``` bash
98
- brew install automake cmake opencc boost python gradle doxygen clang capnp
98
+ # Android
99
+ export ANDROID_SDK_ROOT=" android_sdk_path"
99
100
```
100
101
101
- Set the following environment variables in your ` ~/.bashrc ` is recommended:
102
+ 3 . Set up [ mirror] ( https://mirrors.tuna.tsinghua.edu.cn/help/homebrew/ ) of Homebrew(Optional)
103
+
104
+ 4 . Install [ Homebrew] ( https://brew.sh/ )
102
105
``` bash
103
- # Android
104
- export ANDROID_HOME=" your_android_sdk"
105
- export ANDROID_NDK=" your_android_ndk"
106
- export PATH=${PATH} :$ANDROID_HOME /tools:$ANDROID_HOME /platform-tools:$ANDROID_NDK
106
+ brew install cmake capnp
107
107
```
108
108
109
109
## Third Party Libraries
Original file line number Diff line number Diff line change @@ -83,20 +83,21 @@ make release
83
83
84
84
#### macOS
85
85
86
- 1 . 推荐通过 Android Studio 或手动安装 Android [ SDK] ( https://developer.android.com/studio/index.html ) 和 [ NDK] ( https://developer.android.com/ndk/index.html ) 。
87
- 2 . 安装 [ Homebrew] ( http://brew.sh/ ) (如果网速过慢,可设置 [ Homebrew 镜像] ( https://mirrors.ustc.edu.cn/help/brew.git.html ) ),然后运行:
86
+ 1 . 安装 [ Android SDK] ( https://developer.android.com/sdk/index.html )
88
87
88
+ 2 . 设置相应的 ANDROID_SDK_ROOT
89
89
``` bash
90
- brew install automake cmake opencc boost python gradle doxygen clang capnp
90
+ # Android
91
+ export ANDROID_SDK_ROOT=" android_sdk_path"
91
92
```
92
93
93
- 如果使用 bash,请在 ~ /.bashrc 中设置环境变量:
94
+ 3 . 设置 Homebrew [ 镜像] ( https://mirrors.tuna.tsinghua.edu.cn/help/homebrew/ ) (可选)
95
+
96
+ 4 . 安装 [ Homebrew] ( https://brew.sh/ )
94
97
``` bash
95
- # Android
96
- export ANDROID_HOME=" your_android_sdk"
97
- export ANDROID_NDK=" your_android_ndk"
98
- export PATH=${PATH} :$ANDROID_HOME /tools:$ANDROID_HOME /platform-tools:$ANDROID_NDK
98
+ brew install cmake capnp
99
99
```
100
+
100
101
## 第三方库
101
102
- [ Boost C++ Libraries] ( https://www.boost.org/ ) (Boost Software License)
102
103
- [ Cap'n Proto] ( https://capnproto.org/ ) (MIT License)
Original file line number Diff line number Diff line change @@ -82,20 +82,21 @@ make release
82
82
83
83
#### macOS
84
84
85
- 1 . 推薦通過 Android Studio 或手動安裝 Android [ SDK] ( https://developer.android.com/studio/index.html ) 和 [ NDK] ( https://developer.android.com/ndk/index.html ) 。
86
- 2 . 安裝 [ Homebrew] ( http://brew.sh/ ) (如果網速過慢,可設置 [ Homebrew 鏡像] ( https://mirrors.ustc.edu.cn/help/brew.git.html ) ),然後執行:
85
+ 1 . 安裝 [ Android SDK] ( https://developer.android.com/sdk/index.html )
87
86
87
+ 2 . 設置相應的 ANDROID_SDK_ROOT
88
88
``` bash
89
- brew install automake cmake opencc boost python gradle doxygen clang capnp
89
+ # Android
90
+ export ANDROID_SDK_ROOT=" android_sdk_path"
90
91
```
91
92
92
- 如果使用 bash,請在 ~ /.bashrc 中設置環境變數:
93
+ 3 . 設置 Homebrew [ 鏡像] ( https://mirrors.tuna.tsinghua.edu.cn/help/homebrew/ ) (可選)
94
+
95
+ 4 . 安裝 [ Homebrew] ( https://brew.sh/ )
93
96
``` bash
94
- # Android
95
- export ANDROID_HOME=" your_android_sdk"
96
- export ANDROID_NDK=" your_android_ndk"
97
- export PATH=${PATH} :$ANDROID_HOME /tools:$ANDROID_HOME /platform-tools:$ANDROID_NDK
97
+ brew install cmake capnp
98
98
```
99
+
99
100
## 第三方庫
100
101
- [ Boost C++ Libraries] ( https://www.boost.org/ ) (Boost Software License)
101
102
- [ Cap'n Proto] ( https://capnproto.org/ ) (MIT License)
You can’t perform that action at this time.
0 commit comments