ADT field not set

I am running a simple Java project on Android (using Eclipse ADT). During debugging, I see that the value is set incorrectly. I think this screenshot says it all:

debug screen shot

Any idea what might trigger this?

Thanks a lot, Omer

+4
source share
1 answer

After many problems that solved for me, the following problem:

  • The project is → clean, as Simon suggested.
  • Restart eclipse.
  • Fix the build path (after cleaning, I got an error in my build path without paraphrasing the JRE).
  • Fix the target version of Android. (After cleaning, I got some error on the target).
  • Save files.
  • Restart eclipse (again).

This was one of the strangest things I came across as a programmer, and I'm still not sure what the problem is, and which of the above steps helped fix it.

So, I decided to write all the steps, hoping that this could bring some benefit to another soul.

Simon Thanks again.

0
source

Source: https://habr.com/ru/post/1482937/


All Articles