I am getting numerous useless errors in Eclipse when I create a new Android project. Eclipse shows errors in the file created by itself! What should I do?
-
I am following Android development tutorials and after installing everything, I had to create a new project. But when I create one, Eclipse shows these errors. The file was created by Eclipse itself. I haven't made any changes in it. Here's a screenshot of my Eclipse Workspace:
-
Answer:
It seems the Android SDK is not being recognized...So here are the things which may help you. And also if you can tell what type of file is created and put the error logs we can know what exactly is happening. 1. Set the Android SDK path in windows> Preferences if you have not done yet 2. Check for software updates in the help section of eclipse 3. Also i see the errors are mainly on R.java which is a resource file automatically generated when you build the project.But many people try to import the default R.java which doesnt help. So first, remove the imports. second, Delete the R.java in gen folder. Clean and build the project again As i said earlier your problem can be due to lot many reasons so if possible check the logs and even Logcat.Google them and im pretty sure you will figure it out
Karan Chinchansur at Quora Visit the source
Other answers
SOLVED: By mistake I had deleted the appcompat_v7 project from my workspace. It contains all the support libraries required to make an Android project to be able to run. So I just switched to a new workspace which created a new appcompat project for my new projects. Everything works fine now. Thanks for your answers everyone.
Man Parvesh Singh Randhawa
Related Q & A:
- How can i create a new blog?Best solution by Yahoo! Answers
- How do I create a new Yahoo screen name if I already have one?Best solution by Yahoo! Answers
- How can I create a new font?Best solution by Yahoo! Answers
- Can I create a new proxy?Best solution by Stack Overflow
- How do I set my e-mail to alert me when I get a new message?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.