Tvm apk building error

I’m not using docker. My ndk version is 21.3.6528147. I built tvm with vulkan on, use_rpc on, sort on, graph_runtime on, llvm on. Why do i get this error? Waiting for help…

Im trying to build android_rpc project.

I didn’t change anything.

I also recently encountered trouble getting the android_rpc apk to build. I resolved the problem you’re running into with help from a different forum post by making the following change to: <TVM_ROOT>/apps/android_rpc/app/src/main/jni/build.sh

-LOCAL_SRC_FILES := org_apache_tvm_native_c_api.cc
+LOCAL_SRC_FILES := org_apache_tvm_native_c_api.cc \
+       $(ROOT_PATH)/src/runtime/rpc/rpc_channel.cc \
+       $(ROOT_PATH)/src/runtime/rpc/rpc_endpoint.cc \
+       $(ROOT_PATH)/src/runtime/rpc/rpc_local_session.cc
1 Like

Man, you really did a great job. I’ve been dealing with this for a week. Thanks a lot.