I recently had to reinstall all my SDKs, etc. on my new hard drive, and I get errors trying to work with recently created Android projects in Eclipse.
I installed the JDK, I installed Eclipse, I installed the Android SDK, I installed the ADT plugin for Eclipse.
I had some errors with the Android SDK Manager (Access Denied for downloaded files, so no updates were made), which seem to be fixed by selecting "Run as administrator"
When I create a new Android project in Eclipse, the project is created successfully, however R.java is not created, and I get the message "The project target (Android 2.3.3) was loaded incorrectly."
source share