Neha
Neha

Reputation: 187

error while opening eclipse

When I try opening eclipse it opens, but it shows one error i.e Android SDK content Loader has encountered a problem.parseSdkContent failed

When I click on details button, it shows me parseSdkContent failed java.lang.NullPointeException.

And when I tried to create AVD it shows error that Location of the android SDK has not been setup in the preferences while I have already set the path in preferences.

Please help me. Because of this issue my work is pending.

Upvotes: 4

Views: 12234

Answers (9)

proooooo
proooooo

Reputation: 1

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 ...

Upvotes: 0

Muhammad
Muhammad

Reputation: 425

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

Upvotes: 0

Kuldip Kadam
Kuldip Kadam

Reputation: 1

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.

Upvotes: 0

Prakash
Prakash

Reputation: 11

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

Upvotes: -1

Azad Sarker
Azad Sarker

Reputation: 21

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!!

Upvotes: 0

Alejo
Alejo

Reputation: 186

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.

Upvotes: 16

kakopappa
kakopappa

Reputation: 5085

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

Upvotes: 0

Albert-Jan Verhees
Albert-Jan Verhees

Reputation: 2194

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>

Upvotes: 2

Harinder
Harinder

Reputation: 11944

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

Upvotes: 1

Related Questions