Update Workflow
Understanding this SOP will save you hours of frustration every time you push changes.
index.html without the critical <script> tag or manifest link. This causes a blank page. The SOP below prevents it.Make Changes in AI Studio
Update your app's features, AI behaviour, or interface by chatting with the Build agent or editing code directly. Test thoroughly in the live preview before doing anything else.
Re-check Critical Files in AI Studio — BEFORE Exporting
Verify index.html still has the script tag. If missing, add it back now:
<script type="module" src="/index.tsx"></script>Also verify manifest.json is still present and correct.
Export to GitHub
Click "Export to GitHub" in AI Studio. Wait for the commit confirmation before proceeding.
Verify on GitHub (If Unsure)
Open your repo and check index.html. If the script tag is missing, edit the file directly on GitHub, add it back, and commit with: Restore script tag after AI Studio update
Wait for Auto-Deploy (1–2 min)
Vercel detects the commit and automatically rebuilds. Monitor progress in your Vercel dashboard. Your installed Android app will reflect the update after a refresh or restart — Chrome updates installed PWAs in the background on a normal cache cycle.
Advanced: Git CLI Workflow
# Clone your repo locally
git clone https://github.com/your-username/your-repo.git
cd your-repo
# After AI Studio pushes an update
git pull origin main
# Check and fix index.html if needed, then:
git add index.html
git commit -m "Restore script tag after AI Studio update"
git push origin main