Google Antigravity läuft nativ auf Android über Termux, ganz ohne PC oder VNC
Der autonome KI-Coding-Assistent lässt sich vollständig auf dem Smartphone in Termux betreiben. Das offizielle Desktop-Web-GUI ist dabei direkt im mobilen Browser über localhost erreichbar.

Google Antigravity ist ein leistungsstarker autonomer KI-Coding-Assistent. Obwohl er primär für Desktop-Umgebungen entwickelt wurde, lässt er sich tatsächlich zu 100 % nativ auf Android innerhalb von Termux betreiben, inklusive der offiziellen Desktop-Weboberfläche von Google, die direkt im mobilen Browser unter http://localhost:4400 erreichbar ist.
In diesem Tutorial richten wir die eigenständige Umgebung ein, ohne dass ein PC, Cloud-Relays, VNC-Viewer oder schwergewichtige Linux-PRoot-Container benötigt werden.
Öffne Termux und führe das automatisierte Installationsskript aus dem Open-Source-Repository aus:
curl -fsSL https://raw.githubusercontent.com/dsundaravadhanan/Antigravity-for-Android/main/install.sh | bash Was dieses Skript im Hintergrund konfiguriert: Native Android Bionic Engine: Installiert die offizielle native ARM64-Android-Binärdatei von Google ohne glibc-Overhead. Termux PATH-Anbindung: Verlinkt die Binärdatei per Symlink zu $PREFIX/bin/agy, damit du nie die Meldung command not found erhältst. Browser-OAuth-Bridge: Verbindet xdg-open mit termux-open-url, damit sich Anmelde-Tabs nahtlos in Chrome öffnen.
Latency-Fixes: Setzt die IPv4-DNS-Präzedenz und das Dual-Stack-Localhost-Mapping, um langsamen Start über mobile Netzdaten zu verhindern. Hintergrund-Daemon: Installiert die termux-wake-lock-Integration, damit Android-Batterieoptimierer Hintergrund-Sitzungen nicht beenden. Schritt 2: Google-Konto-Authentifizierung Wenn das Skript fertig ist, starte die Web-GUI: agy-gui Dein mobiler Browser öffnet automatisch http://localhost:4400/onboard.
Tippe auf Continue with Google, um die Standard-Google-OAuth-Anmeldung abzuschließen. Nach der Authentifizierung wird deine lokale Sitzung sicher in ~/.gemini/antigravity-cli/ mit eingeschränkten Berechtigungen ( chmod 600 ) gespeichert. Schritt 3: Installation als eigenständige Android-App Du kannst die Web-GUI in eine dedizierte Vollbild-App auf deinem Smartphone umwandeln:
Das offizielle Google-Antigravity-Symbol erscheint nun in deinem Android-Launcher und öffnet sich im Vollbild-Standalone-Modus ohne Browser-URL-Leisten.
agy-gui Hintergrund-Daemon-Modus (ermöglicht das Minimieren von Termux während des Programmierens): agy-service start # Startet den Server und öffnet Chrome agy-service status # Prüft den Hintergrundstatus agy-service logs # Zeigt die letzten Serverausgaben agy-service stop # Stoppt den Hintergrundserver Quellcode & Projektarchiv Die vollständigen Einrichtungsskripte, der Deinstaller und der Quellcode sind Open Source unter der Apache-2.0-Lizenz:
Wenn dieses Projekt deinen mobilen Entwicklungs-Workflow unterstützt, hinterlasse gerne einen Stern für das Repository auf GitHub!
Automatisch übersetzt. Das Original auf Englisch ist unten aufklappbar.
Original (Englisch) anzeigen
Google Antigravity is a powerful autonomous AI coding assistant. While primarily designed for desktop environments, you can actually run it 100% natively on Android inside Termux, complete with Google's official desktop Web GUI accessible directly in your mobile browser at http://localhost:4400.
In this tutorial, we will set up the standalone environment without needing a PC, cloud relays, VNC viewers, or heavy Linux PRoot containers.
Open Termux and run the automated installation script from the open-source repository:
curl -fsSL https://raw.githubusercontent.com/dsundaravadhanan/Antigravity-for-Android/main/install.sh | bash Enter fullscreen mode Exit fullscreen mode What this script configures under the hood: Native Android Bionic Engine: Installs Google's official native ARM64 Android binary with zero glibc overhead. Termux PATH Linking: Symlinks the binary to $PREFIX/bin/agy so you never encounter command not found. Browser OAuth Bridge: Bridges xdg-open to termux-open-url so sign-in tabs open seamlessly in Chrome.
Latency Fixes: Sets IPv4 DNS precedence and dual-stack localhost mapping to prevent slow startup on mobile carrier data. Background Daemon: Installs termux-wake-lock integration to stop Android battery optimizers from killing background sessions. Step 2: Google Account Authentication When the script finishes, launch the Web GUI: agy-gui Enter fullscreen mode Exit fullscreen mode Your mobile browser will automatically open to http://localhost:4400/onboard.
Tap Continue with Google to complete standard Google OAuth sign-in. Once authenticated, your local session is securely saved in ~/.gemini/antigravity-cli/ with restricted permissions ( chmod 600 ). Step 3: Install as a Standalone Android App You can convert the Web GUI into a dedicated full-screen app on your phone:
The official Google Antigravity icon will now be on your Android launcher, opening in full-screen standalone mode without any browser URL bars.
agy-gui Enter fullscreen mode Exit fullscreen mode Background Daemon Mode (allows minimizing Termux while coding): agy-service start # Starts server and opens Chrome agy-service status # Checks background status agy-service logs # Views recent server output agy-service stop # Stops background server Enter fullscreen mode Exit fullscreen mode Source Code & Project Repository The complete setup scripts, uninstaller, and source code are open-source under the Apache-2.0 License:
If this project helps your mobile development workflow, feel free to star the repo on GitHub!