Allow correct recognition of Android OS when running Termux environment
If isAndroid() check fails, checkIfAndroidTermux() is called which runs uname -o command and check if its output contains android. This should fix #789.
Sample command output in Termux before changes:

Sample command output in Termux after changes:

why did you change some of the native libraries ?
when running java within Termux, is it using a different Java runtime that when running a normal Android app ? What is the result of System.getProperty("java.runtime.name", "") within Termux ?
Here's the output:

While working on #797 i am actually not sure how Termux works on Android.
- it seems to be a JDK from eclipse, but not specific to Android?
- however the native library needs to have been compiled with the NDK for it to work
- that bit is apparently not triggered though, and the classic loader is used
Would you be able to check the value of the property java.vm.vendor also ?
Here you are:

Note: to install Java on Termux you run pkg install openjdk-x where x is the jdk version you need. Regarding openjdk-17 it is grabbed through Termux pkg management system: https://github.com/termux/termux-packages/blob/master/packages/openjdk-17/build.sh
Thanks, that confirm my understanding.
This still requires some work @arch-dev as there are conflicts, and the native libs should not have been changed. Is that something you're still working on?
Reworked and used available ProcessRunner class.
@arch-dev i have refactored the code slightly and added some tests, please have a look and let me know if that's fine with you
Yes good idea separing checks. Tested and it works without problems.