I succesfully installed and configured the ox-hugo package in emacs under termux on android.

https://github.com/kaushalmodi/ox-hugo