Answer the question
In order to leave comments, you need to log in
When testing an application on an Android device, the data is not updated?
Sometimes when testing an app with Android Studio on a device via Usb, the app doesn't get updated. That is, I wrote an updated code, but the data does not change. You have to delete the app and reinstall it. What is it connected with?
Answer the question
In order to leave comments, you need to log in
In short, the studio thinks that nothing has changed there and there is nothing to redeploy. Here
is how to set it up so that it always deploys
This problem also occurs periodically (USB debugging does not work for some reason, so I work via wifi) In my case, it is "cured" by stopping debugging (red square in AS) and starting a new debugging. At the same time, I did not do any reassembly or manual removal of the application.
AS writes that it does not detect changes, but he is frankly lying. Pressing "Stop" for me turned out to be faster than looking for the right solution.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question