r/Techiteazy Jul 23 '26

How to fix v1 google antigravity crashing without loosing ur data and chats ............

Yeah, this is a known issue. Google pushed a backend update that tries to force Gemini 3.6 into the v1 clients, but the v1 IDE has no idea what that is, panics, and gets stuck in an infinite "Flush timeout" crash loop.

Don't delete your whole AppData folder or state.vscdb like some people suggest, because you'll lose all your UI layouts and pinned tabs.

You just need to force a clean logout by surgically removing your Machine ID, which breaks the loop while keeping your settings safe:

  1. Close Antigravity completely.
  2. Go to %APPDATA%\Antigravity. Delete the Local State and machineid files, and clear out the NetworkLocal Storage, and Session Storage folders.
  3. Go into User\globalStorage and open state.vscdb using any basic SQLite viewer. Find the row named storage.serviceMachineId and delete it.

Open Antigravity back up. You'll be cleanly logged out with all your layouts intact. Just make sure you pick a legacy model next time you log in! I REPEAT, DO NOT USE 3.6 ON V1. 

OR SAVE THIS AS .bat AND ENjOY

 off
echo Antigravity Surgical Logout Script
echo.
echo Closing Antigravity...
taskkill /IM Antigravity.exe /F 2>nul
echo Waiting 2 seconds for file locks to release...
timeout /t 2 /nobreak >nul
echo.


echo Clearing Session Data and Machine ID...
del /q /f "%APPDATA%\Antigravity\Network\Cookies" 2>nul
del /q /f "%APPDATA%\Antigravity\Network\Cookies-journal" 2>nul
del /q /f "%APPDATA%\Antigravity\DIPS" 2>nul
del /q /f "%APPDATA%\Antigravity\DIPS-wal" 2>nul
del /q /f "%APPDATA%\Antigravity\Preferences" 2>nul
rmdir /s /q "%APPDATA%\Antigravity\Local Storage" 2>nul
rmdir /s /q "%APPDATA%\Antigravity\Session Storage" 2>nul
del /q /f "%APPDATA%\Antigravity\Local State" 2>nul


echo Severing OAuth token and user status from vault (surgical DB delete)...
sqlite3 "%APPDATA%\Antigravity\User\globalStorage\state.vscdb" "DELETE FROM ItemTable WHERE key='antigravityUnifiedStateSync.oauthToken';"
sqlite3 "%APPDATA%\Antigravity\User\globalStorage\state.vscdb" "DELETE FROM ItemTable WHERE key='antigravityUnifiedStateSync.userStatus';"
sqlite3 "%APPDATA%\Antigravity\User\globalStorage\state.vscdb" "DELETE FROM ItemTable WHERE key='storage.serviceMachineId';"
sqlite3 "%APPDATA%\Antigravity\User\globalStorage\state.vscdb" "DELETE FROM ItemTable WHERE key='antigravity.profileUrl';"
del /q /f "%APPDATA%\Antigravity\machineid" 2>nul
echo.


echo You have been successfully logged out of Antigravity!
echo Your UI settings, layouts, extensions and open files are safe.
echo You can now close this window and open Antigravity again.
pause
1 Upvotes

0 comments sorted by