Error building android_rpc

I’m trying to build android_rpc from the docker image given in https://tvm.apache.org/docs/tutorials/frontend/deploy_model_on_android.html#sphx-glr-tutorials-frontend-deploy-model-on-android-py

I pulled libOpenCL.so from the android board and tried run /apps/android_rpc/app/src/main/jni/build.sh and it shows and error as below:

clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/opt/android-sdk-linux/ndk/21.3.6528147/build/core/build-binary.mk:725: /workspace/apps/android_rpc/app/src/main/obj/local/arm64-v8a/libtvm4j_runtime_packed.so] Error 1
make: Leaving directory '/workspace/apps/android_rpc/app/src/main/jni'

I ran the command following the guide from https://github.com/apache/incubator-tvm/blob/main/jvm/README.md: make jvmpkg make jvminstall

Building /apps/android_deploy/ works for me, but /apps/anroid_rpc does not. I don’t see any error regarding tvm4j in case of /apps/android_deploy /

Does anyone have an idea?