At the very least, your virtualised OS on Android would need to be supported by Pi-hole.
Even then - we've had few requests from attempts to install Pi-hole in a virtual environment on a smartphone, but I recall most of them failing in one way or another.
I used this guide: GitHub - DesktopECHO/Pi-hole-for-Android at legacy. TLDR: I used Linux Deploy (a program to run Linux distros in a container on Android) to install a pre-built image of a CentOS with Pi-hole set up already. I used the legacy version of the guide because the Linux Deploy devs have stopped supporting Android 4.x.
So you are running an unsupported client OS's image with an outdated Pi-hole version (also unsupported) on an unsupported host OS.
Your best chance would be to get those image's maintainers involved for support.
Alternatively, you'd have to steer around all potential package issues yourself.
But I wouldn't like to encourage you going down that path, as Linux Deploy itself may not be a suitable platform for hosting Pi-hole virtually.
You may end up with a non-functional setup anyway.