Android_rpc build fail

I follow the instructions in README.md and doc Deploy Models and Integrate TVM. When execute

gradle clean build

two error occured.

1: Task failed with an exception.

What went wrong:
Execution failed for task ‘:app:buildJni’.
A problem occurred starting process ‘command ‘ndk-build’’

Caused by: java.io.IOException: Cannot run program “ndk-build” (in directory “/home/tvm/tvm/apps/android_rpc/app”): error=2, No such file or directory
at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25)
… 6 more
Caused by: java.io.IOException: error=2, No such file or directory
… 7 more

2: Task failed with an exception.

What went wrong:
java.lang.StackOverflowError (no error message)

I have already set ANDROID_HOME and PATH, and I can execute ndk-build in my command line.

And This is my sdk directory:
Android/Sdk
-build-tools
-cmake
-cmdline-tools
-emulator
-licenses
-ndk
—25.1.8937393
-ndk-bundle
-patcher
-platform-tools -platforms
-sdk_list
-sources tools

Anything else should I install ?

Hi,How did you solve this problem? I also encountered the same problem.