error while opening eclipse

拜拜、爱过 提交于 2019-12-01 07:37:30

I work in this problem for 2 days. In my workspace I have 2 projects. After review both project.properties, project 1 reference project 2 and project 2 reference project 1. This cause a stackoverflow. I comment one line and the problem is solved.

I had the same problem. This annoying error popped up every time I started Eclipse and even a reinstall didn't work.

Look at the .log file in the .metadata of your workspace to find more about this error. Mine said:

java.lang.NullPointerException at org.eclipse.core.internal.resources.ProjectDescription.hasPublicChanges(ProjectDescription.java:509)

Eventually I found out that a .project file was missing a < name > tag that got lost somewhere when I renamed the project on the SVN server. So make sure the file isn't corrupt.

<?xml version="1.0" encoding="UTF-8"?><projectDescription>
<name>ProjectName</name>
<comment></comment>
<projects>

Place your android-sdk-windows in the same directory where your eclipse folder is and the name shout be - android-sdk-windows .

I have the same issue. I closed all the projects then you can set the Android SDK Location. Thereafter need to open one by one and fix

Azad Sarker

I got the same problem and killed my two hours to resolve the issues. I have checked my work space and got two projects where project.properties file #project target= android-10 as the similar target with one of my another project to integrate Facebook SDK. I have completely deleted one project and reinstalled Eclipse-Indio 4.2.1 and then resolve the problem. Good luck!!

Delete the avd file in your .android folder and restart the eclipse.. it should be mostly in c:/users/... search for avd in windows search. worked for me.

It seems Android throws these usual BS problems "Android Content SDK Loader..." and "R cannot be resolved ..." often when there are simple coding errors in String XML or Manifest.

I just happen to have my XML in string name="city-state-zip" while there should'nt be any special characters in the name. But I only found it when Android finally pointed me to this error through gen/package/R.java file

It may be due to recently added library... In my case i had added two libraries andengine and box2d.. delete them and restart the eclipse and reinstall the libraries ...

Prakash

Delete the avd file in your .android and then try to configure your new avd. It worked awesomely.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!