You probably need to install glog: sudo apt install libgoogle-glog-dev
Don’t forget you have to build pytorch for android and set TORCHPATH correctly in the CMakeLists.txt file!
Let me know if it works.