P
P
postflow2016-04-26 12:09:32
Android
postflow, 2016-04-26 12:09:32

Why does Android Studio not immediately pick up code changes (only after reinstalling apk)?

Sometimes after changing the code in Android Studio (for example, I will change the output of Log.d ) and running it on a smartphone or emulator, the application does not seem to receive my code changes ... The output of the log in the "Android monitor" has not changed (although I changed Lod .d).
ONLY deleting the application and restarting it helps.
Now I've wasted half a day...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
dchuvasov, 2016-04-26
@dchuvasov

I had such a jamb when I added renaming files in the gradle. The application was assembled, renamed, and the old version of the apk was uploaded. Maybe you have something wrong with the build.gradle file?

S
SSharshunov, 2017-02-12
@SSharshunov

If a new studio - then there may be a problem in Instant Run.
Disabled in the studio settings. The thing is nice, but how else do you need to figure it out so that there are no such sticking

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question