From fbeb6e64dcda4d104a21cbb8127f99a57303968a Mon Sep 17 00:00:00 2001
From: yankai <yankai10@huawei.com>
Date: Thu, 30 Jul 2020 14:34:03 +0800
Subject: [PATCH] fix NBK version

---
 tutorials/source_en/advanced_use/on_device_inference.md    | 4 ++--
 tutorials/source_zh_cn/advanced_use/on_device_inference.md | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tutorials/source_en/advanced_use/on_device_inference.md b/tutorials/source_en/advanced_use/on_device_inference.md
index d7f4f7f8..a0fb1c8c 100644
--- a/tutorials/source_en/advanced_use/on_device_inference.md
+++ b/tutorials/source_en/advanced_use/on_device_inference.md
@@ -49,7 +49,7 @@ The environment requirements are as follows:
   - [GCC](https://gcc.gnu.org/releases.html) >= 5.4
   - [autoconf](http://ftp.gnu.org/gnu/autoconf/) 2.69
   - [LLVM 8.0.0](http://releases.llvm.org/8.0.0/clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz)
-  - [Android_NDK r16b](https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip)
+  - [Android_NDK r20b](https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip)
   - numpy >= 1.16
   - decorator
   - scipy
@@ -63,7 +63,7 @@ The compilation procedure is as follows:
 
     ```bash
     export LLVM_PATH={$LLVM_PATH}/clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-16.04/bin/llvm-config #Set the LLVM path.
-    export ANDROID_NDK={$NDK_PATH}/android-ndk-r16b #Set the NDK path.
+    export ANDROID_NDK={$NDK_PATH}/android-ndk-r20b #Set the NDK path.
     ```
 
 2. Download source code from the code repository.
diff --git a/tutorials/source_zh_cn/advanced_use/on_device_inference.md b/tutorials/source_zh_cn/advanced_use/on_device_inference.md
index 26d12ce1..0cd3a6ba 100644
--- a/tutorials/source_zh_cn/advanced_use/on_device_inference.md
+++ b/tutorials/source_zh_cn/advanced_use/on_device_inference.md
@@ -49,7 +49,7 @@ MindSpore Lite的框架主要由Frontend、IR、Backend、Lite RT、Micro构成
   - [GCC](https://gcc.gnu.org/releases.html) >= 5.4
   - [autoconf](http://ftp.gnu.org/gnu/autoconf/) 2.69
   - [LLVM 8.0.0](http://releases.llvm.org/8.0.0/clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz)
-  - [Android_NDK r16b](https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip)
+  - [Android_NDK r20b](https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip)
   - numpy >= 1.16
   - decorator
   - scipy
@@ -63,7 +63,7 @@ MindSpore Lite的框架主要由Frontend、IR、Backend、Lite RT、Micro构成
 
     ```bash
     export LLVM_PATH={$LLVM_PATH}/clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/llvm-config #设定llvm路径
-    export ANDROID_NDK={$NDK_PATH}/android-ndk-r16b #设定ndk路径
+    export ANDROID_NDK={$NDK_PATH}/android-ndk-r20b #设定ndk路径
     ```
 
 2. 从代码仓下载源码。
-- 
GitLab