No internet?
Attempted to build termux from source, however gradle cant be downloaded as services.gradle.org isn't resolving. My device's internet is all good tho :p
services.gradle.org is a valid domain

strace -o log.txt ./gradlew and give me log.txt
Oops, forgot about strace :p
Well this is what its missing, could probably symlink these
Alrighty after making a bunch of symlinks and dirs, theres still one problem
faccessat(AT_FDCWD, "/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
faccessat(AT_FDCWD, "/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
They don't exist at all because Android...
Ok, these paths are hardcoded into ld-2.19.so, I'll try patching it.
Patched it, all relevant libs/directories are ok
However it still can't connect to hosts.

strace -f lol
looks like a shitton to patch
got this far, not sure how to patch this one

ok termux glib is outdated... sigh
may aswell copy arch linux arm's /lib into /share/glib
Can it be a problem with DNS or DNS Libs? because i always have problems with resolving domain names in termux, for example when i installing XenForo and put 'localhost' in Server Database address, php cannot resolve 'localhost' for some reason.