diff --git a/backends/vulkan/README.md b/backends/vulkan/README.md index bc5a674970..013833fc83 100644 --- a/backends/vulkan/README.md +++ b/backends/vulkan/README.md @@ -137,12 +137,12 @@ compile the Vulkan Compute Library's GLSL compute shaders. The Vulkan Delegate libraries can be built by setting `-DEXECUTORCH_BUILD_VULKAN=ON` when building with CMake. -First, make sure that you have the Android NDK installed - Android NDK r25c is +First, make sure that you have the Android NDK installed - Android NDK 26.3.11579264 is recommended. The Android SDK should also be installed so that you have access to `adb`. ```shell -# Recommended version is Android NDK r25c. +# Recommended version is Android NDK 26.3.11579264. export ANDROID_NDK= # Select an appropriate Android ABI export ANDROID_ABI=arm64-v8a diff --git a/backends/vulkan/docs/android_demo.md b/backends/vulkan/docs/android_demo.md index 8570859ed3..0ddf885bb6 100644 --- a/backends/vulkan/docs/android_demo.md +++ b/backends/vulkan/docs/android_demo.md @@ -28,7 +28,7 @@ Tutorial in order to install the specified versions of the Android NDK and the Android SDK. ```shell -# Recommended version is Android NDK r25c. +# Recommended version is Android NDK 26.3.11579264. export ANDROID_NDK= # Select an appropriate Android ABI export ANDROID_ABI=arm64-v8a diff --git a/examples/demo-apps/android/LlamaDemo/SDK-quick-setup-guide.md b/examples/demo-apps/android/LlamaDemo/SDK-quick-setup-guide.md index 85c7005731..9ae79e9676 100644 --- a/examples/demo-apps/android/LlamaDemo/SDK-quick-setup-guide.md +++ b/examples/demo-apps/android/LlamaDemo/SDK-quick-setup-guide.md @@ -70,9 +70,9 @@ export ANDROID_HOME="$(realpath $DEV_HOME/sdk)" # Install SDK 34 ./cmdline-tools/bin/sdkmanager --sdk_root="${ANDROID_HOME}" --install "platforms;android-34" # Install NDK -./cmdline-tools/bin/sdkmanager --sdk_root="${ANDROID_HOME}" --install "ndk;25.0.8775105" +./cmdline-tools/bin/sdkmanager --sdk_root="${ANDROID_HOME}" --install "ndk;26.3.11579264" # The NDK root is then under `ndk/`. -export ANDROID_NDK="$ANDROID_HOME/ndk/25.0.8775105" +export ANDROID_NDK="$ANDROID_HOME/ndk/26.3.11579264" ``` ### (Optional) Android Studio Setup diff --git a/examples/demo-apps/android/LlamaDemo/docs/delegates/mediatek_README.md b/examples/demo-apps/android/LlamaDemo/docs/delegates/mediatek_README.md index e820055ecf..b0567d11fd 100644 --- a/examples/demo-apps/android/LlamaDemo/docs/delegates/mediatek_README.md +++ b/examples/demo-apps/android/LlamaDemo/docs/delegates/mediatek_README.md @@ -5,7 +5,7 @@ More specifically, it covers: 2. Building and linking libraries that are required to inference on-device for Android platform using MediaTek AI accelerators. 3. Loading the needed files on the device and running inference. -Verified on MacOS, Linux CentOS (model export), Python 3.10, Android NDK 25.0.8775105 +Verified on MacOS, Linux CentOS (model export), Python 3.10, Android NDK 26.3.11579264 Phone verified: MediaTek Dimensity 9300 (D9300) chip. ## Prerequisites diff --git a/examples/demo-apps/android/LlamaDemo/docs/delegates/xnnpack_README.md b/examples/demo-apps/android/LlamaDemo/docs/delegates/xnnpack_README.md index cb6193942a..fd1ad5b537 100644 --- a/examples/demo-apps/android/LlamaDemo/docs/delegates/xnnpack_README.md +++ b/examples/demo-apps/android/LlamaDemo/docs/delegates/xnnpack_README.md @@ -14,7 +14,7 @@ Phone verified: OnePlus 12. Samsung S23 (Llama only), Samsung S24+ (Llama only), ## Prerequisites * Install [Java 17 JDK](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html). -* Install the [Android SDK API Level 34](https://developer.android.com/about/versions/14/setup-sdk) and [Android NDK 25.0.8775105](https://developer.android.com/studio/projects/install-ndk). +* Install the [Android SDK API Level 34](https://developer.android.com/about/versions/15/setup-sdk) and [Android NDK 26.3.11579264](https://developer.android.com/studio/projects/install-ndk). * If you have Android Studio set up, you can install them with * Android Studio Settings -> Language & Frameworks -> Android SDK -> SDK Platforms -> Check the row with API Level 34. * Android Studio Settings -> Language & Frameworks -> Android SDK -> SDK Tools -> Check NDK (Side by side) row. @@ -22,7 +22,7 @@ Phone verified: OnePlus 12. Samsung S23 (Llama only), Samsung S24+ (Llama only), Supported Host OS: CentOS, macOS Sonoma on Apple Silicon. -Note: This demo app and tutorial has only been validated with arm64-v8a [ABI](https://developer.android.com/ndk/guides/abis), with NDK 25.0.8775105. +Note: This demo app and tutorial has only been validated with arm64-v8a [ABI](https://developer.android.com/ndk/guides/abis), with NDK 26.3.11579264.