Eclipse and Android error 'parseSdkContent failed'

I had this problem since I updated Android Tools to 21.1. When I start eclipse, even in a clean workspace, I get the parseSdkContent failed error message and the details say:

 com.android.sdklib.devices.DeviceManager.createInstance (Ljava/lang/String;Lcom/android/utils/ILogger;) Lcom/android/sdklib/devices/DeviceManager; 

I searched the Internet and tried almost all the solutions, but to no avail. When I go to the Android settings and try to set the path to the SDK, it says that there is no goal available. Is there anything else I can try? I can not do any of my Android development until it is fixed.

+7
source share
14 answers

Ok, I just uninstalled eclipse and reinstalled. Lost all my settings, etc., but all that I could do. Something must have gone bad while updating ADT.

+3
source

Step 1. Locate the folder named: .android

This folder can be located in your Windows user directory, for example, in Windows 7 or 8:

 C:\Users\YOUR_WINDOWS_USERNAME\.android 

Step 2. Delete this .android folder

Step 3. Restart Eclipse and your problem will be resolved.

+17
source

You DO NOT NEED TO DELETE ANYTHING


For me, updating DDMS from the ADT plugin did the trick!

Before that, to save time, I only updated the ADT plugin , nothing more than Android DDMS, TraceView, etc., so I ran into the same problem, after several restarts and Google searches, everyone offered different solutions. I updated my Android DDMS and restarted eclipse.

And he worked like a charm.

I did not have to delete the workspace or update the .project file, etc.

+14
source

I had the same problem after installing 21.1 on a new computer. I solved it by deleting the default workspace that I created during the first run, and then restarted ADT as an administrator, re-creating the workspace. After closing and restarting it as a normal user, the problem disappeared.

+1
source

Reinstalling a new version of ADT (which at that time was ADT-23.0.3.zip ( http://developer.android.com/sdk/installing/installing-adt.html )) helped me with the same problem you described above. This post may be a bit late, but hope this can also help others.

+1
source

Uninstalling API 21 and installing API 19 worked for me.

+1
source

In Eclipse, use the Check for Updates item in the Help menu to update the Eclipse portion of your Android Tools (ADT).

0
source

Try going into the eclipse workspace and deleting the .meta folder.

0
source

I recently had the same issue and realized that I needed to install / update other necessary ADT related software. Assume you are updating your ADT, then you should also update DDMS with it. Therefore, the best option is to install all the software / plugin for the version you are updating.

When you delete the whole thing and install it again, all these related programs are installed in one version, so it always solves the problem.

In my opinion, installation should be the final solution.

0
source

I have fixed mine, before restarting your IDE, make a basic layout of your activity until the current tab opens, and then restart your IDE. Hope this helps :)

0
source

It did it for me.

In Eclipse, go to

Project Properties -> Java Compiler and set Compiler Compliance Level to 1.7

0
source

For me, I remove the installed Android 5 software packages (API 21) from the SDK manager. I am working on API 20 (Android 4.4w.2). This completely solved my problem. Delete the .android folder or others did not help me.

0
source

Removing ".android" temporarily fixes the problem with me, because after it starts to appear again.

Here is another reason and fix that may help. This is due to the existence of two versions of the SDK on the same computer, but if you only have one version (maybe 21), just download the SDK platform for API 20 (4.4W), as there is a problem in 21 "layoutlib.jar "). start applying the following:

Close eclipse

Go to the sdk folder (something like C: \ adt-bundle-windows-x86_64-20140321 \ sdk)

Go to the platforms folder -> android-21 folder -> data and rename layoutlib.jar (for backup only)

Copy the same file (layoutlib.jar) from the android-20 folder to this "android-21" folder

Run eclipse

0
source

maybe you have more than one IDE for Android installed, for example, you installed android and adt + eclipse studio, just remove this problem.

-one
source

All Articles