Android SDK: when Eclipse hangs on "Resolving error markers" or "Android SDK Content Loader"

Any Android developers who chose to not adopt Android Studio and continue using Eclipse will eventually face the dreadful problem of the workspace not loading properly. The most common jobs who tend to get stuck are: Android SDK: Resolving error markers... and Android SDK Content Loader, which sometimes hangs at 0% or 100% of their completion and also tend to completely block the GUI when it's the case.

The first thing to try when this happens is to run Eclipse with the -clean and -refresh command-line options enabled:

There is a fair chance that this simple method will solve the issue. Since it tends to happen a lot it would be advisable to put the trick in a batch file in the Eclipse root folder (i named mine eclipse.clean.refresh.bat):

There are, however, scenarios in which this method doesn't work. When such situations arise we need to switch to a more aggressive approach, deleting the cache files built by the SDK in the .android folder which is located inside the current user profile files. Here's the updated batch file to fullfill the task:

Before executing any of these commands ensure that the Eclipse process is properly closed, otherwise the files and the workspace will be locked: if you cannot do that gracefully, use the "Kill Process" option in Task Manager instead.

About Ryan

IT Project Manager, Web Interface Architect and Lead Developer for many high-traffic web sites & services hosted in Italy and Europe. Since 2010 it's also a lead designer for many App and games for Android, iOS and Windows Phone mobile devices for a number of italian companies. Microsoft MVP for Development Technologies since 2018.

View all posts by Ryan

2 Comments on “Android SDK: when Eclipse hangs on "Resolving error markers" or "Android SDK Content Loader"”

  1. Pingback: Fixed Eclipse hangs at the Android SDK Content Loader #dev #it #asnwer | Good Answer
  2. Pingback: Fix: Eclipse hangs at the Android SDK Content Loader #development #fix #programming | IT Info

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.

This site uses Akismet to reduce spam. Learn how your comment data is processed.