Getting emacs to cohabitate with termux
I'm interested in getting emacs to work on my tablet (Samsung A9+, if it mattters). Previously I had them installed separately, which kinda worked (ish) with the unfortunate limitation of the two environments not being able to really talk to one another, and specifically emacs not being able to access some of the tooling available on the termux side of things. So, I uninstalled both, and started over.
Based on what I had read online, it appears that I need to install termux first, then emacs - but via apk from the termux/source-forge repo - then do a little config, and then the two should be able to play nice together.
The first problem/concern was that the versions of Emacs in that termux repo don't seem to correspond to normal releases of mainstream emacs i.e. the version of v31 is at something like .0.50, vs 31.1.x, and AFAIK there isn't a main stream release of Emacs 32 yet. Kinda confusing, to say the least. I saw at least one reference to installing termux from f-droid, and another saying instead to install it via apk downloaded from that same repo. IIRC, the first way worked, and the second did not. I tried installing emacs for android (via apk) from the gnu.org repo, in their /termux directory, and when that didn't appear to work, tried installing it from the termux/source-forge repo. Which now fails saying that it conflicts with some other existing package.
At this point... what's my best path forward? How do I nuke/reset things as far as emacs and termux are concerned, and start over? Which version of termux do I need to install, and from where? Which version of emacs?
Thanks!