Uditansh Bhandari
Uditansh Bhandari

Reputation: 21

After using the command ionic cap add android i changed my code in vscode but now there is no change in the apk i download from android stdudio

after running the command from terminal i opened the android studio from where i generated the apk now i made some changes in the vs code which were reflected in the browser by using the ionic server but now after making the changes in the code in vscode if i download the apk from android studio again it is not reflecting the changes

i have tried closing android studio and again using the command ionic cap add android

Upvotes: -1

Views: 589

Answers (1)

De Wet van As
De Wet van As

Reputation: 1000

You need to sync your changes in your IDE/project with Android Studio. Run the following commands:

 ionic build
 npx cap sync
 npx cap copy
 npx cap open android

Upvotes: 2

Related Questions