0

When I add a line of code such as:

println(1)

Then run the app, sometimes this line of code doesn't seem to take effect.

I found that Android Studio will not build before running? How should this problem be solved?

I've tried setting Build in launch before in Edit Configure, but it fails every time with various errors, while when I manually build again it succeeds.

SageJustus
  • 631
  • 3
  • 9
  • Check out this answer, it might help you to solve your problem https://stackoverflow.com/a/49506100/14034353 – Luku Geraud Feb 17 '23 at 07:21
  • @LukuGeraud This is not the same as in my case, I added `Gradle-aware Make`. And I would like to know more about the principles of `build` and `Run`. – SageJustus Feb 17 '23 at 11:05

0 Answers0