Skip to content

Commit 753a88e

Browse files
authored
Update android docs (#9788)
1 parent cc73d03 commit 753a88e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/source/using-executorch-android.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ The AAR library can be used for generic Android device with arm64-v8a or x86_64
2828

2929
ExecuTorch is available on [Maven Central](https://mvnrepository.com/artifact/org.pytorch/executorch-android).
3030

31-
Simply add the target [`org.pytorch:executorch-android:0.5.1`](https://repo.maven.apache.org/maven2/org/pytorch/executorch-android/0.5.1/) to your Android app dependency (build.gradle), and build your app.
31+
Simply add the target [`org.pytorch:executorch-android:0.6.0-rc1`](https://repo.maven.apache.org/maven2/org/pytorch/executorch-android/0.6.0-rc1/) to your Android app dependency (build.gradle), and build your app.
3232

3333
For example:
3434
```
3535
# app/build.gradle.kts
3636
dependencies {
37-
implementation("org.pytorch:executorch-android:0.5.1")
37+
implementation("org.pytorch:executorch-android:0.6.0-rc1")
3838
}
3939
```
4040

41-
Note: `org.pytorch:executorch-android:0.5.1` corresponds to executorch v0.5.0.
41+
Note: If you want to use release v0.5.0, please use dependency `org.pytorch:executorch-android:0.5.1`.
4242

4343
Click the screenshot below to watch the *demo video* on how to add the package and run a simple ExecuTorch model with Android Studio.
4444
<a href="https://pytorch.org/executorch/main/_static/img/android_studio.mp4">
@@ -53,6 +53,7 @@ You can also directly specify an AAR file in the app. We upload pre-built AAR to
5353

5454
| Version | AAR | SHASUMS |
5555
| ------- | --- | ------- |
56+
| [v0.6.0-rc1](https://github.com/pytorch/executorch/releases/tag/v0.6.0-rc1) | [executorch.aar](https://ossci-android.s3.amazonaws.com/executorch/release/v0.6.0-rc1/executorch.aar) | [executorch.aar.sha256sums](https://ossci-android.s3.amazonaws.com/executorch/release/v0.6.0-rc1/executorch.aar.sha256sums) |
5657
| [v0.5.0](https://github.com/pytorch/executorch/releases/tag/v0.5.0) | [executorch.aar](https://ossci-android.s3.amazonaws.com/executorch/release/v0.5.0-rc3/executorch.aar) | [executorch.aar.sha256sums](https://ossci-android.s3.amazonaws.com/executorch/release/v0.5.0-rc3/executorch.aar.sha256sums) |
5758

5859
### Snapshots from main branch
@@ -78,7 +79,7 @@ implementation("com.facebook.fbjni:fbjni:0.5.1")
7879
In your app working directory, such as executorch/examples/demo-apps/android/LlamaDemo,
7980
```
8081
mkdir -p app/libs
81-
curl https://ossci-android.s3.amazonaws.com/executorch/release/v0.5.0-rc3/executorch.aar -o app/libs/executorch.aar
82+
curl https://ossci-android.s3.amazonaws.com/executorch/release/v0.6.0-rc1/executorch.aar -o app/libs/executorch.aar
8283
```
8384

8485
And include it in gradle:

0 commit comments

Comments
 (0)