简体   繁体   中英

eclipse doesn't recognise correction of errors

I am using Eclipse with Android projects. Sometimes when I recompile with clean Eclipse will mark errors in red. and sometimes but not always after I have corrected therrors and recompile the error messages are still there. If I close and reopen the project and reopen all is well. Any thoughts?

Sometimes this can happen with non-java related things. Like converting.class files to dalvik format, or some changes in resources can produce errors that are not recovered when you fix them.

In this cases you can just delete the error message from "Problems" tab and re-build the project from scratch (ie Clean, then Build). This usually solves such issues.

But from my experience such "unrecoverable" errors are relatively rare.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM