Something that really irritates me while developing apps is eclipse suddenly throwing random errors. Below are some of them.
Not being able to recognize Java libraries
Error: Import error, Can not resolve java.** Solution: Clean projects and then restart eclipse.
Not being able to recognize reference libraries
Error: Multiple related errors This is probably something that bothers the me most. I have libraries such as Google play services, appcom v7 etc that I use together in various apps. These libraries are locally saved on my computer.
Solution:
Small fix: clean projects -> restart eclipse
Major fix: To fix the resolution error I have to copy the library rename it and then make that new library a reference/support to my project again.
R can't be resolved
Solution: Multiple solutions
Way 1: Sudden package name not being recognized. Go to manifest file and fix name.
Way 2: Check if R file even exists. Clean projects.
Way 3: Check if you are missing any necessary imports. Might cause the R file to be hidden. Might be related to the previous problems.
What I want:
Is there any way to practically solve these errors once and for all. My computer is really crappy and takes forever to restart eclipse and launch the emulator. This is a really embarrassing event especially if I want to present to my colleges or something and I have to wait for eclipse to restart.
Thanks in advance.