ANTIGRAVITY LABJP
TAG

Troubleshooting

119 articles
Back to all tags
Related:
antigravity72Antigravity24tips14agents13error12python10agent9fix8debugging8editor7workspace5automation5
Antigravity/2026-05-25Intermediate

Why Antigravity Agents Hang on ssh, sudo, and git rebase -i — Diagnosing and Permanently Fixing the Missing TTY Problem

When you ask an Antigravity agent to deploy, the terminal panel stops on 'password:' and never moves. The agent isn't broken — the shell behind it has no PTY, so interactive prompts have no one to answer them. Here's how to diagnose and remove every interactive command from your agent workflow.

Tips/2026-05-24Intermediate

Why Antigravity's Agent Keeps Referencing the Previous Repo After You Switch Projects — Diagnosis and Fix

When Antigravity carries leftover state from your previous project into a new one, the agent confidently edits files that don't belong to the current repo. Here's how to diagnose and prevent that context bleed.

Antigravity/2026-05-23Intermediate

Why Antigravity's AI Agent Misreads .env Values — Quoting, Whitespace, and Export Pitfalls

When Antigravity's agent writes or reads .env files, subtle differences in quoting, trailing whitespace, export prefixes, and # characters cause silent value corruption. Here are four real cases I hit in production, with concrete diagnostics and fixes.

Antigravity/2026-05-22Intermediate

Why Antigravity's Workspace Indexing Stalls on Large Repositories — and How to Fix It

A walk-through of why Antigravity's indexer can spin forever on a monorepo, with the diagnostic steps and fixes I use on my own 12 GB repository.

Antigravity/2026-05-21Intermediate

Why Antigravity Agents Hit `Permission denied` on git push, and How to Fix It for Good

Your Antigravity agent finishes the edits, tests pass, the commit message is sharp — and then git push fails with `remote: Permission to ... denied` or `fatal: Authentication failed`. Here's the diagnostic flow I actually use for multi-account, multi-PAT setups, plus the long-term fixes that keep the error from coming back.

Editor/2026-05-20Intermediate

When Antigravity Agent Edits Break Diffs Due to Mixed CRLF/LF Line Endings

Working across Windows, Mac, and Linux, you may suddenly see Antigravity Agent edits turn an entire file's diff bright red. This article walks through detecting CRLF/LF mismatches and a three-layer fix across git, the editor, and the Agent itself.

Tips/2026-05-19Intermediate

When Antigravity's AI rewrites your package.json dependencies and breaks the build

You asked Antigravity for a small visual change, and somehow twenty-three dependency lines in package.json got rewritten — carets stripped, pins bumped to latest, the build dead on arrival. Here is what triggers it, how to roll back cleanly, and three guardrails to keep it from recurring.

Antigravity/2026-05-18Intermediate

When Antigravity Ignores Your AGENTS.md — How to Diagnose and Fix It

You dropped an AGENTS.md at the repo root with clear rules, but the agent still pulls in banned libraries and blows past your conventions. Here is how I diagnose and fix the three most common causes I have seen across more than a hundred Antigravity sessions.

App Dev/2026-05-17Intermediate

When Antigravity Fixes a RecyclerView Crash but Breaks Something Else — The Defensive Copy Solution

If RecyclerView IndexOutOfBoundsExceptions keep coming back after Antigravity's fix, shared list reference is likely the cause. Here's how to prompt Antigravity for the right fix and encode the pattern in AGENTS.md.

App Dev/2026-05-15Intermediate

Library Added via Antigravity Crashes Only on Older Android Devices: The coreLibraryDesugaring Blind Spot

When a library added through Antigravity starts crashing only on Android 6/7 devices, the culprit is often missing coreLibraryDesugaring config. Learn how to diagnose and fix it from a real-world case.

App Dev/2026-05-14Intermediate

CORS Errors Blocking API Tests in Antigravity — How to Diagnose and Fix by Environment

Fix CORS errors that block API testing in Antigravity development. Learn how to identify the root cause by environment — Next.js, Cloudflare Workers, Supabase — and craft precise prompts so Antigravity generates the right fix.

Tips/2026-05-13Intermediate

4 Steps to Handle Deprecated API Suggestions from Antigravity

A practical 4-step approach to diagnosing, fixing, and preventing deprecated API suggestions from Antigravity — based on real iOS/Android indie development experience since 2014.