ADT field is not set… here is a solution to the problem.
ADT field is not set
I run a simple java project on Android (using Eclipse ADT).
During debugging, I see that a value is set incorrectly.
I think this screenshot says it all:
Know what causes it?
Thank you so much
Omai
Solution
After a lot of effort, the following problems were solved for me:
- Project > clean, as Simon suggests.
- Restart Eclipse.
- (after clean my build path got an error without referencing the JRE).
- Fix Android target version. (I got some errors on the target after cleaning up).
- Save the file.
- Restart Eclipse (again).
Fix the build path
This is one of the weirdest things I’ve ever encountered as a programmer,
Until now I wasn’t sure what the problem was and which of the above steps would help solve it.
So, I decided to write down all the steps in the hope that it would help others.
Simon – Thanks again.