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.
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.
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.
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.
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.
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.
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.
4 Runtime Error Patterns from Gemma 4-Generated Code in Antigravity — and How to Fix Them
Gemma 4 writes clean-looking code — until it runs. This guide covers the four most common runtime error patterns in Antigravity-generated Python code: TypeError, AttributeError, asyncio issues, and import conflicts.
Gemma 4 Tool Calls Failing in Antigravity? Here Are Three Things to Check First
When Gemma 4's Function Calling breaks in Antigravity IDE, the root cause usually falls into one of three patterns. This guide walks through diagnosis and fixes for each.
Diagnosing Antigravity's "Failed to fetch" errors when AI chat stops responding
When Antigravity's AI chat or agent runs suddenly halts with "Failed to fetch" or "Network Error," the recovery is faster if you peel layers off in a fixed order. Here is the field-tested checklist I use.
Resolving AGENTS.md Precedence Conflicts in Antigravity Monorepos
When you place AGENTS.md in both the repo root and a subfolder, Antigravity merges them — but the agent often follows the wrong one. Here is how the precedence actually works, with concrete patterns to remove the conflict.
Why Antigravity Agents Can't Read Your .env File — Three Propagation Paths to Check First
When an Antigravity agent fails with Missing API_KEY but the same build works in your terminal, the cause is one of three env propagation paths. Diagnose each.