提交 c5a91eb2 编写于 作者: L Liangliang He

Update README.md

上级 47894517
Android Demo Android Demo
------------ =============
------------
Try it by downloading the [APK](https://cnbj1.fds.api.xiaomi.com/mace/demo/mace_android_demo.apk).
How to build How to build
--------------- ---------------
* Build native library, please refer to [docs](docs) for more information.
``` ```sh
# Execute following commands from the project's root directory cd mace/exampls/android
python tools/converter.py build --config=docs/getting_started/models/demo_app_models.yaml ./build.sh
cp -r build/mobilenet/include/ mace/examples/android/macelibrary/src/main/cpp/ ```
cp -r build/mobilenet/lib/ mace/examples/android/macelibrary/src/main/cpp/
``` Pre-built APK
* Build APK --------------
* Import the `mace/examples/android` directory as a new Android Studio project and select `install run` Pre-built Android APK can be downloaded [here](https://cnbj1.fds.api.xiaomi.com/mace/demo/mace_android_demo.apk).
* Or build it with gradle: \ No newline at end of file
```
cd mace/exampls/android
./gradlew installAppRelease
```
* You can also build native library and APK with `mace/examples/android/build.sh`
```
cd mace/exampls/android
./build.sh
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册