Google Antigravity Troubleshooting Guide
Experiencing issues with Google Antigravity? This comprehensive troubleshooting guide covers the most common problems users encounter and provides step-by-step solutions to get you back to building faster with AI agents.
Quick Fixes (Try These First)
85% of issues can be resolved with these steps:
1. Full Restart
Quit Antigravity completely → Wait 30 seconds → Relaunch
2. Restart Agent Service
Ctrl/Cmd+Shift+P → "Restart Agent Service" → Wait 15 seconds
3. Check Output Panel
View → Output → Select "Antigravity Agent" to see errors
4. Use Personal Gmail
Personal @gmail.com accounts have higher success rate than Workspace
1. Login & Authentication Issues
Problem: Login Screen Stuck / No Response
Symptom: Clicking "Sign in with Google" does nothing, or the page keeps spinning
Solutions:
- Full quit and restart: Completely close Antigravity (check system tray), wait 30 seconds, relaunch
- Check default browser: Ensure Chrome/Edge is your default browser, not a privacy-focused one
- Disable popup blockers: Allow popups for antigravity.google in browser settings
- Try incognito mode: Extensions may interfere with OAuth flow
- Clear browser cookies: Clear cookies for google.com and antigravity.google
Problem: "Not Eligible" or "Account Not Authorized"
Error: "Your account is not eligible for Antigravity" or "Access Denied"
Solutions:
- Use personal Gmail: Personal @gmail.com accounts work better than Workspace accounts
- Check account region: Your Google account country must be in a supported region (US, UK, EU, etc.)
- New account tip: Brand new Gmail accounts may be flagged - use an established account
- Workspace users: Ask your admin to enable "Experimental Google AI Services" in Admin Console
- VPN off: Disable VPN during authentication - region mismatch causes silent failures
Tip: If your Google account region is restricted, you can try changing it at pay.google.com/gp/w/home/settings (Country/Region section). This may take 24-48 hours to take effect.
Problem: Authentication Redirect Loop
Symptom: Browser opens, you authenticate successfully, but Antigravity still shows login screen
Solutions:
- Check localhost access: Ensure firewall allows localhost connections on port 9222
- Disable strict cookie policies: Some browsers block the auth callback cookie
- Try different browser: Set Chrome as default temporarily during sign-in
- Run as admin (Windows): Right-click Antigravity → Run as Administrator
- Check system time: OAuth tokens are time-sensitive - sync your system clock
Problem: Session Expires Frequently
Solutions:
- Ensure system clock is accurate (OAuth is time-sensitive)
- Enable "Keep me signed in" option during authentication
- Whitelist *.antigravity.google in your firewall
- Update to the latest version of Antigravity
- Check if battery saver mode is suspending background processes
2. China & Restricted Region Setup
Due to network restrictions, users in China and some other regions need special configuration to use Google Antigravity. 由于网络限制,中国及部分地区的用户需要特殊配置才能使用 Google Antigravity。
Step 1: Network Proxy Configuration (网络代理配置)
Required: TUN Mode Proxy (必需:TUN 模式代理)
- Why TUN mode: Regular HTTP proxy doesn't work because Antigravity uses system-level connections
- Recommended tools: Clash Verge (with TUN enabled), Surge, Shadowrocket (Mac)
- Enable TUN: In your proxy client, find "TUN Mode" or "Enhanced Mode" and enable it
- Test: Open terminal, run
curl google.com- should return HTML
Clash Verge TUN 配置示例:
# 在 Settings → TUN Mode 中启用 TUN Mode: Enabled Stack: gVisor (recommended) Auto Route: Enabled
Step 2: Google Account Region (账号地区设置)
Check and Update Your Account Region:
- Go to pay.google.com/gp/w/home/settings
- Look for "Country/Region" setting
- If set to China, change to United States or another supported region
- You may need to add a payment method from that region
- Wait 24-48 hours for the change to propagate
注意:更改账号地区可能影响其他 Google 服务,请谨慎操作。
Step 3: Authentication Tips (登录技巧)
- Ensure proxy is active before launching: Start your TUN proxy first, then open Antigravity
- Use US/UK proxy node: Match your proxy exit location with your account region
- Disable proxy rule bypass: Don't add Google to the direct connection list
- Check DNS: Use 8.8.8.8 or 1.1.1.1, not local DNS servers
Common Error: "Region Restricted" (地区限制)
If you see this error:
- Your IP address region doesn't match your account region
- Solution: Use a proxy node in the same country as your account setting
- If using a new account: wait 24 hours after creation before trying
- Try a different Google account with established history
3. WSL2 Authentication (Windows)
Running Antigravity in WSL2 requires special handling because the Linux environment can't directly communicate with Windows browser for OAuth.
Problem: Authentication Fails in WSL2
Symptom: Browser opens in Windows, you authenticate, but WSL2 terminal never receives the token
Why This Happens:
WSL2 runs in a virtualized network environment. The OAuth redirect token can't find its way back to the WSL instance.
Solutions:
- Use Windows native version: Install Antigravity directly on Windows, not in WSL2
- Port forwarding: Forward port 9222 from Windows to WSL2
- WSLg: Ensure WSLg is enabled for GUI app support
- Manual token: Copy the auth token from browser URL and paste manually if prompted
Recommended: Windows Native + WSL2 Workspace
The most reliable setup:
- Install Antigravity on Windows (not in WSL)
- Open your WSL2 project folder via Windows path:
\\wsl$\Ubuntu\home\user\project - Antigravity will use Windows authentication but can access WSL2 files
WSL2 Port Forwarding Setup
If you must run Antigravity inside WSL2:
# In Windows PowerShell (as Admin): netsh interface portproxy add v4tov4 \ listenport=9222 listenaddress=0.0.0.0 \ connectport=9222 connectaddress=$(wsl hostname -I) # In WSL2, set BROWSER to point to Windows: export BROWSER="/mnt/c/Program Files/Google/Chrome/Application/chrome.exe"
Account Type Matters
- Personal Gmail (@gmail.com): Highest success rate in WSL2
- Google Workspace: May require admin to approve "Experimental Google AI Services"
- Region matching: Your Windows region, Google account region, and IP should all match
4. Agent Stuck & Execution Errors
Problem: Agent Stuck at "Loading..." or "Generating..."
Symptom: Agent shows loading indicator indefinitely, no response
Quick Fixes:
- Type "continue": Sometimes agents wait for confirmation - type "continue" or "proceed" in chat
- Cancel and retry: Click the stop button, wait 5 seconds, then resend your prompt
- Restart Agent Service: Cmd/Ctrl+Shift+P → "Restart Agent Service"
- Check Output Panel: View → Output → "Antigravity Agent" for error details
- Switch model: Try Gemini Flash instead of Pro for faster response
Problem: "Agent execution terminated due to error"
Error: Agent crashes mid-execution with this message
Common Causes & Solutions:
- Server overload: Google servers may be experiencing high load - wait 5-10 minutes and retry
- Model fallback: During peak times, Antigravity may switch to Gemini 2.5 Flash - this is normal
- Context too large: If working with large files, try selecting smaller code sections
- Tool timeout: Commands like
npm installmay timeout - run them manually first - Check logs: Help → Developer Tools → Console for detailed error stack
Pro Tip: If agent keeps failing on the same task, break it into smaller steps. Instead of "Build a complete login system", try "Create the login form component first".
Problem: Agent Waiting for User Input (Hidden)
Symptom: Agent appears stuck but is actually waiting for confirmation
Solutions:
- Check terminal panel - agent may be waiting for input (like npm prompts)
- Type
yoryesand press Enter in terminal - Enable auto-confirm: Settings → Agent → Auto-confirm safe operations
- For npm: use
npm install --yesflag
Problem: Browser Agent Not Working
Symptom: Agent can't interact with web pages or take screenshots
Solutions:
- Ensure Chrome extension is installed and enabled
- Click extension icon → "Reconnect to Antigravity"
- Check if the website blocks automation (some sites detect puppeteer)
- Try running in non-headless mode: Settings → Browser → Show Browser Window
- Some enterprise sites require VPN - ensure it's connected
Agent Debugging Checklist
1. Open Output Panel: View → Output → "Antigravity Agent" 2. Check for error messages or stack traces 3. Look for HTTP 401/403/429 errors (auth/rate limit issues) 4. Check terminal for hung processes: ps aux | grep antigravity 5. Kill stuck processes: pkill -f antigravity-agent 6. Restart Agent Service: Cmd/Ctrl+Shift+P → "Restart Agent Service" 7. If all else fails: Full restart of Antigravity application
5. Installation & Setup Issues
Problem: Installation Fails on Windows
Error: "Installation failed" or "Access denied" during setup
Solutions:
- Run the installer as Administrator (right-click → Run as administrator)
- When Windows Defender blocks: Click "More info" → "Run anyway"
- Add exception in Windows Security → Virus & threat protection → Exclusions
- Ensure you have at least 2GB free disk space
- Install Visual C++ Redistributable if missing
- Important: Install to default location - custom paths may cause login issues
Problem: macOS Installation Blocked
Error: "Unable to verify developer" or "App can't be opened"
Solutions:
- Go to System Settings → Privacy & Security → scroll down
- Find "Google Antigravity was blocked" → Click "Open Anyway"
- Alternatively: Right-click app → Open → Click "Open" in dialog
- M1/M2/M3 Macs: Ensure you downloaded the ARM version, not Intel
- Intel Macs on Apple Silicon require Rosetta 2:
softwareupdate --install-rosetta
Problem: Linux Dependencies Missing
Error: "Missing libraries" or dependency errors
Minimum Requirements:
- glibc >= 2.28
- glibcxx >= 3.4.25
Ubuntu/Debian:
sudo apt update && sudo apt upgrade
sudo apt install libgtk-3-0 libnotify4 libnss3 libxss1 \
libxtst6 xdg-utils libatspi2.0-0 libdrm2 \
libgbm1 libasound2Fedora/RHEL:
sudo dnf install gtk3 libnotify nss libXScrnSaver \
libXtst xdg-utils at-spi2-core alsa-libArch Linux Warning:
Antigravity has known issues on Arch: processes may not terminate properly on close, and large file indexing can fill disk space. Monitor with htop.
6. Chrome Extension Problems
Problem: Extension Not Connecting
Symptom: Browser integration features don't work, agents can't interact with web pages
Solutions:
- Verify extension is installed: chrome://extensions
- Ensure extension is enabled (toggle should be blue)
- Check that Antigravity desktop app is running
- Click extension icon → "Reconnect to Antigravity"
- Restart Chrome completely (close all windows)
- Check firewall isn't blocking localhost connections
Problem: Extension Permissions Denied
Error: "Unable to access page" or permission warnings
Solutions:
- Grant all requested permissions during installation
- Check extension permissions: chrome://extensions → Details → Permissions
- Enable "Allow access to file URLs" if working with local files
- For incognito mode: Enable "Allow in incognito"
- Some enterprise sites block extensions - check with IT
Problem: Extension Crashes or Freezes
Solutions:
- Remove and reinstall the extension
- Clear extension cache: chrome://extensions → Remove → Reinstall
- Update Chrome to the latest version
- Disable other conflicting extensions temporarily
- Check Chrome Task Manager (Shift+Esc) for memory issues
7. Rate Limiting & Quota Issues
Problem: "Rate Limit Exceeded" or 429 Error
Error: "Too many requests" or HTTP 429 errors
Solutions:
- Wait: Rate limits typically reset after 60 seconds to 1 hour
- Reduce agent count: Limit concurrent agents to 2-3 instead of 5+
- Switch to Flash model: Gemini Flash has higher rate limits than Pro
- Use async mode: Enable async workflows to queue requests
- Check usage: Monitor your quota in Settings → Usage
Problem: Quota Exhausted
Error: "Monthly quota exceeded" or "No remaining credits"
Solutions:
- Check your billing status and current quota
- Wait until the next billing cycle for quota reset
- Purchase additional quota if available
- Use more efficient prompts to reduce token usage
- Enable caching for repeated queries
Best Practices to Avoid Rate Limits
- Start with 1-2 agents and scale up as needed
- Use agent throttling settings in preferences
- Cache agent responses when possible
- Use smaller context windows for simple tasks
- Batch similar operations together
8. Performance & Memory Problems
Problem: High Memory Usage
Symptom: Antigravity using 4GB+ RAM, system slowing down
Solutions:
- Reduce number of concurrent agents (recommend: max 3)
- Close unused workspaces
- Clear artifact cache: Settings → Storage → Clear Cache
- Disable browser integration if not needed
- Limit context window size: Settings → Models → Context Limit
- Restart Antigravity periodically during long sessions
- Minimum: 8GB RAM recommended (4GB barely works)
Problem: Disk Space Filling Up
Symptom: Disk usage spikes when opening large projects
Solutions:
- Create
.antigravityignorefile in project root - Add large directories: node_modules, .git, build, dist, *.bin, *.model
- Exclude binary files and AI models (>100MB files)
- Clear index cache: Settings → Storage → Clear Index
.antigravityignore example:
node_modules/ .git/ dist/ build/ *.bin *.onnx *.model *.weights
Problem: Slow Response Times
Symptom: Agents take 30+ seconds to respond
Solutions:
- Check your internet connection speed
- Switch to a faster model (Gemini Flash instead of Pro)
- Reduce context size by being more specific in prompts
- Enable response streaming for faster perceived response
- Check server status at status.antigravity.google
Problem: Application Crashes
Solutions:
- Update to the latest stable version
- Check crash logs: Help → Show Logs
- Disable experimental features
- Increase system RAM if below 8GB
- Reset to default settings: Settings → Advanced → Reset
- Clean reinstall if crashes persist
Clean reinstall commands:
# Windows Settings → Apps → Google Antigravity → Uninstall # macOS rm -rf ~/Library/Application\ Support/Antigravity rm -rf ~/Library/Caches/com.google.antigravity # Linux rm -rf ~/.antigravity rm -rf ~/.config/antigravity
9. OS Compatibility Issues
Windows-Specific Issues
- Path length limit: Enable long paths via Group Policy or Registry
- Windows Defender: Add Antigravity folder to exclusion list
- PowerShell execution: Set execution policy:
Set-ExecutionPolicy RemoteSigned - WSL integration: See WSL2 section above for authentication issues
- Install location: Use default install path to avoid permission issues
macOS-Specific Issues
- M1/M2/M3 compatibility: Use ARM version for best performance
- Rosetta: Intel version requires Rosetta 2 on Apple Silicon
- Permissions: Grant Full Disk Access in System Settings → Privacy
- Command line tools: Run
xcode-select --installfirst - Keychain: Allow Antigravity access when prompted
Linux-Specific Issues
- Wayland: May need to force X11 mode:
--ozone-platform=x11 - AppImage permissions:
chmod +x antigravity.AppImage - Sandbox issues: Run with
--no-sandboxflag if needed (not recommended for security) - Font rendering: Install Microsoft fonts for better UI
- Arch Linux: Known issues with zombie processes - use htop to monitor
10. Network & Connectivity
Problem: Connection Timeout Errors
Solutions:
- Check internet connection is stable
- Verify firewall allows outbound HTTPS (port 443)
- Test connectivity:
curl https://antigravity.google - Try different DNS servers (8.8.8.8, 1.1.1.1)
- Disable VPN temporarily to test
- Increase timeout: Settings → Network → Request Timeout
Problem: Corporate Firewall Blocking
Error: "Connection refused" or "SSL handshake failed"
Solutions:
- Request IT to whitelist: *.antigravity.google, *.googleapis.com, *.google.com
- Configure proxy settings: Settings → Network → Proxy
- Use enterprise SSO if available
- Check if SSL inspection is breaking connections - may need to add certificate
Problem: Proxy Configuration Issues
Solutions:
- Auto-detect proxy: Settings → Network → Auto-detect
- Set environment variables: HTTP_PROXY and HTTPS_PROXY
- Test:
curl -x proxy:port https://antigravity.google - Bypass proxy for local: Add localhost, 127.0.0.1 to no_proxy
Still Having Issues?
Official Support Channels
- Documentation: antigravity.google/docs
- Google AI Forum: discuss.ai.google.dev
- GitHub Issues: github.com/google/antigravity
- Status Page: status.antigravity.google
Before Reporting an Issue
- Update to the latest version
- Check the status page for known outages
- Search existing issues on GitHub and Google AI Forum
- Collect logs: Help → Show Logs → Export
- Note your OS version, Antigravity version, and error messages
- Try reproducing the issue in a clean workspace
Useful Diagnostic Commands
# Check version antigravity --version # Run diagnostics antigravity --doctor # View logs antigravity --show-logs # Reset settings (keeps credentials) antigravity --reset-settings # Full reset (removes credentials) antigravity --reset-all # Test connection antigravity --test-connection
Quick FAQ
Why is Antigravity using so much RAM?
AI agents require significant memory for model inference, context management, and workspace indexing. Reduce concurrent agents, add .antigravityignore for large files, or enable low-memory mode in settings.
Can I use Antigravity offline?
No, Antigravity requires internet connection to access AI models via cloud APIs. Some features like basic code editing work offline, but agents won't function.
Is there a free tier?
Yes, Google Antigravity offers a free tier with limited monthly quota. Check the official pricing page for current limits and paid plans.
Which model should I use?
Gemini 3 Flash: Fastest, best for simple tasks and tight rate limits.
Gemini 3 Pro: Balanced speed and capability for most tasks.
Claude Sonnet 4.5: Best for complex reasoning and code review.
How do I uninstall Antigravity completely?
Windows: Settings → Apps → Uninstall, then delete %APPDATA%\Antigravity
macOS: Drag to Trash, then delete ~/Library/Application Support/Antigravity
Linux: Use package manager, then rm -rf ~/.antigravity ~/.config/antigravity
Why does my agent keep saying "continue"?
Agents sometimes pause to confirm before proceeding with risky operations. Type "continue", "yes", or "proceed" to let them continue. You can enable auto-confirm for safe operations in Settings → Agent.
Disclaimer: This troubleshooting guide is maintained by antigravity.im, an independent community resource. We are not affiliated with, endorsed by, or officially connected with Google or the Google Antigravity team. For official support, please visit antigravity.google. Information is provided as-is and may not reflect the latest updates.