Question about capacitor and Android Studio

I’ve created a project using Ionic and Capacitor. Used npx cap init and set an AppName and AppID. My problem is that when I use npx cap open android, the first time it opens but, when I change something and I open it again, it is like the changes don’t apply, it always open like a “cache project”, how can i solve this?

Using ionic serve

enter image description here

Using ionic capacitor open android

enter image description here

It is same project. But project doesnt update on android studio

I’m not sure, but did you run npx cap update after the Changes?

What @EinfachHans says, you need to build and then sync again.

1 Like