Update readme files

This commit is contained in:
halx99 2022-08-06 19:47:45 +08:00
parent e42bdbb9be
commit 483ee8ad26
2 changed files with 10 additions and 6 deletions

View File

@ -105,10 +105,12 @@ See [windows workflow guide](https://github.com/axis-project/axis/issues/564)
2. When starting Android Studio for the first time, It will guide you to install the SDK and other tools, just install them
3. Start Android and choose [Open an existing Android Studio Project] and select ```axis\tests\cpp-tests\proj.android```
4. Start Android Studio and Open [Tools][SDKManager], then switch to ```SDK Tools```, check the ```Show Package Details```, choose the following tools and click the button ```Apply``` to install them:
* Android SDK Platform 29 r5
* Android SDK Build-Tools 29.0.2
* Android SDK Platform 33
* Android Grandle Plugin (AGP) 7.2.0
* Android SDK Build-Tools 30.0.3 match with AGP
* Gradle 7.4.2
* NDK r23c+
* CMake 3.10+
* CMake 3.22.1+
5. Wait for ```Gradle sync``` finish.
6. Note: If you use non-sdk provided CMake edition, you will need to download ```ninja``` from https://github.com/ninja-build/ninja/releases, and copy ```ninja.exe``` to cmake's bin directory

View File

@ -71,10 +71,12 @@
2. 第一次启动Android Studio, 会引导安装一些工具,默认安装即可,如果不需要模拟器可以把```Virutal Device```勾选去掉
2. 启动 Android Studio并打开axis\tests\cpp-tests\proj.android
3. 通过 [Tools][SdkManagers] 打开sdk管理工具选择如下SDK Platforms和SDK Tools后 点击按钮 ```Apply``` 一路跟着引导安装即可:
* Android SDK Platform 29 r5 (在SDK Platforms页签)
* Android SDK Build-Tools 29.0.2
* Android SDK Platform 33 (在SDK Platforms页签)
* Android Gradle Plugin (AGP) 7.2.0
* Android SDK Build-Tools 30.0.3 和 AGP 版本对应
* Gradle 7.4.2
* NDK r23c+
* CMake 3.10+
* CMake 3.22.1+
5. 等待Gradle sync完成后Build APKs安装运行
6. 如果使用非sdk自动安装的CMake版本, 需要下载[ninja](https://github.com/ninja-build/ninja/releases) 并且拷贝```ninja.exe```到CMake的bin目录