Skip to content

Commit 2f0f732

Browse files
kirklandsignkeyprocedure
authored andcommitted
Add docs for $BUILD_AAR_DIR (pytorch#10174)
This helps users locate their AAR file.
1 parent fab63dc commit 2f0f732

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

extension/android/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ export ANDROID_NDK=/path/to/ndk
2828
sh scripts/build_android_library.sh
2929
```
3030

31+
The AAR file will be `extension/android/executorch_android/build/outputs/aar/executorch_android-debug.aar`.
32+
If you set an environment variable `BUILD_AAR_DIR`, then the AAR will be copied to `$BUILD_AAR_DIR/executorch.aar`.
33+
Later, you can copy `$BUILD_AAR_DIR/executorch.aar` to your app directory to use as a library.
34+
3135
Please see [Android building from source](https://pytorch.org/executorch/main/using-executorch-android#building-from-source) for details
3236

3337
## Test

0 commit comments

Comments
 (0)