D
D
Dauren S2016-09-12 12:52:42
Android
Dauren S, 2016-09-12 12:52:42

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

2 answer(s)
D
Dmitry Eremin, 2016-09-12
@EreminD

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

M
maaGames, 2016-09-12
@maaGames

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 question

Ask a Question

731 491 924 answers to any question