Hi @dalseeroh, please check the notes in the build script pytorch/build_android.sh at master · pytorch/pytorch · GitHub 4
and make sure all steps are done.
Also check
配置 CMake  |  Android 开发者  |  Android Developers 2
for cmake configs.