15
Korvax
8y

copied a code for android from stackoverflow and it worked
edited the code no more works
removed the code and pasted the original code from stackoverflow and still doesnt work
clean and build and now the code starts to work

Comments
  • 0
    What happened with me I wrote a code it didn't work. I copied the solution code which was given with a tutorial and paste it without editing anything didn't work and I am stuck for 3 days on the same project 😡😡😡
  • 0
    you need to start reading the logs and errors and understand what and why it is happening
  • 1
    Java happend.
  • 0
    although I am happy apple is moving to swift, IMO android is the one who seriously needs a new natively supported language right now
  • 0
    that's android studio for you 😄
  • 0
    @andenq the problem that gets solved by rebuilding your project has nothinf to do with java code that he wrote. Its the build system that's the culprit here
  • 0
    @DavidKevork are you using instant run? if so disable it, there are a lot of bugs in it, most of the time it doesnt take in code changes at all
Add Comment