Add links to custom Android/iOS package instructions to increase discoverability. (#12431)

This commit is contained in:
Edward Chen 2022-08-02 19:35:06 -07:00 committed by GitHub
parent 0059cdcc5e
commit 3535b56700
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 2 deletions

View file

@ -131,4 +131,8 @@ Android NNAPI Execution Provider can be built using building commands in [Androi
## Test Android changes using emulator
See [Testing Android Changes using the Emulator](https://github.com/microsoft/onnxruntime/blob/master/docs/Android_testing.md).
See [Testing Android Changes using the Emulator](https://github.com/microsoft/onnxruntime/blob/master/docs/Android_testing.md).
## Building a Custom Android Package
Refer to the documentation for [custom builds](./custom.md). In particular, see the section about the [Android Package](./custom.md#android).

6
docs/build/ios.md vendored
View file

@ -67,4 +67,8 @@ If you want to use CoreML Execution Provider on iOS or macOS, see [CoreML Execut
#### Build Instructions
CoreML Execution Provider can be built using building commands in [iOS Build instructions](#build-instructions-1) with `--use_coreml`
CoreML Execution Provider can be built using building commands in [iOS Build instructions](#build-instructions-1) with `--use_coreml`
## Building a Custom iOS Package
Refer to the documentation for [custom builds](./custom.md). In particular, see the section about the [iOS Package](./custom.md#ios).

View file

@ -133,6 +133,10 @@ In your CocoaPods `Podfile`, add the `onnxruntime-c`, `onnxruntime-mobile-c`, `o
Run `pod install`.
#### Custom build
Refer to the instructions for creating a [custom iOS package](../build/custom.md#ios).
### Install on Android
#### Java/Kotlin
@ -161,6 +165,10 @@ In your Android Studio Project, make the following changes to:
Download the [onnxruntime-android](https://mvnrepository.com/artifact/com.microsoft.onnxruntime/onnxruntime-android) (full package) or [onnxruntime-mobile](https://mvnrepository.com/artifact/com.microsoft.onnxruntime/onnxruntime-mobile) (mobile package) AAR hosted at MavenCentral, change the file extension from `.aar` to `.zip`, and unzip it. Include the header files from the `headers` folder, and the relevant `libonnxruntime.so` dynamic library from the `jni` folder in your NDK project.
#### Custom build
Refer to the instructions for creating a [custom Android package](../build/custom.md#android).
## ORT Training package
```