The Problem
I upgraded to Capacitor v7 and Android Studio Narwhal (from Koala) around the same time, and now ionic cap sync android completely stopped working. NO changes show up on device without manual cleaning.
What worked (Koala + Capacitor v6):
-
Make any code changes
-
Run ionic cap sync android
-
Changes appeared immediately
What’s broken now (Narwhal + Capacitor v7):
-
Make any code changes
-
Run ionic cap sync android
-
Zero changes on device - still shows old everything
Current Painful Workaround
Every single change now requires:
-
cd android && ./gradlew clean && cd ..
-
ionic cap sync android
-
Android Studio → Clean Project → Rebuild
-
Finally see changes
This is killing productivity - what used to be one command is now 4+ manual steps.
What’s Not Working
-
Code changes (TS, JS, CSS, HTML)
-
Version updates in build.gradle
-
Config changes in capacitor.config.ts
-
Literally everything requires manual cleaning
Environment
-
Capacitor: v7.x (from v6)
-
Android Studio: Narwhal (from Koala)
-
Node.js: v21.3.0
-
Ionic CLI: Latest
What I’ve Tried
-
ionic cap sync android multiple times
-
Restarting dev server
-
Invalidating Android Studio caches
-
Verifying build completes without errors
My Questions
-
Is this the Android Studio Narwhal upgrade or Capacitor v7 causing this?
-
Should I run the AGP Upgrade Assistant mentioned in Capacitor v7 docs?
-
Are there Narwhal-specific settings breaking Capacitor sync?
-
Has anyone else hit this with the Koala → Narwhal + Capacitor v7 combo?
-
Is there a way to get the old instant-sync workflow back?
This went from a seamless development experience to completely broken overnight. Any suggestions greatly appreciated!