I got Antigravity CLI running natively on Android Termux. No VMs. No Cloud Shell. No proot-distro. Just your phone.
Took a while to figure out but it works. The binary has 7 separate issues on Android
Honestly the easiest way to do it: just copy paste this entire guide into your existing AI agent on termux(may be opencode or Gemini) and tell it to set up your environment. It'll handle everything automatically.
For the nerds: the main issues were TCMalloc assuming 48-bit VA when Android uses 39-bit, Go's faccessat2 syscall getting killed by Android's seccomp, and a few glibc/DNS/TLS things on top. The patch script is pattern-based so it should survive future updates too.
Drop a upvote and comment if it works for you or if you hit something new.
I got Antigravity CLI running natively on Android Termux. No VMs. No Cloud Shell. No proot-distro. Just your phone.
Took a while to figure out but it works. The binary has 7 separate issues on Android
Honestly the easiest way to do it: just copy paste this entire guide into your existing AI agent on termux(may be opencode or Gemini) and tell it to set up your environment. It'll handle everything automatically.
Guide: 🔗 gist.github.com/Brajesh2022/e42160...
Or send it the link directly. Either works.
For the nerds: the main issues were TCMalloc assuming 48-bit VA when Android uses 39-bit, Go's
faccessat2syscall getting killed by Android's seccomp, and a few glibc/DNS/TLS things on top. The patch script is pattern-based so it should survive future updates too.Drop a upvote and comment if it works for you or if you hit something new.
more than one way to skin a cat!