Question

I have eclipse and the ADT bundle correctly installed on my home PC, and tried to install it on my laptop so I can work on my projects on the go. However, I either didn't set the java paths correctly, or installed them in the wrong place, because I can't get a default project to load without errors.

I have correctly:

-Installed the ADT bundle and launched eclipse without errors

-Created a workspace

-Correctly Installed both the jre8 and jdk1.8.0_05 in the location C:\Program Files\Java

I am very new to Android development, and I feel like I was lucky to set up the Java dependencies correctly on my home PC, no such luck this time from what the error look like...

However, when I try to make a basic "Hello world" project, I immediately get the following error:

The container 'Android Dependencies' references non existing library 'C:\Users\userName\workspace\appcompat_v7_3\bin\appcompat_v7_3.jar'

My Error

I have tried adding the library, by checking build configurations, but I don't understand fully whats going on to correctly solve the problem. Here is my workspace:

My Workspace

And lastly, I tried checking the build configurations to see that the libraries are, in fact, missing. Or something like that. I am not sure if I should just try to reinstall java and the jdk.

Build configuration: enter image description here

Anyway, I'm not sure what I deleted, misplaced, uninstalled, or didn't install, but if anyone could point me to a solution I would be very grateful. If anyone has any other questions on my setup I will try and be as thorough as possible. Thank you!

Was it helpful?

Solution

In my experience I have had issues like this if not running eclipse as Administrator. Make sure that you aren't being blocked here.

EDIT: Please note Chris Stratton's concers regarding running an IDE as Administrator, as seen in the comments below.

EDIT 2: In my more recent experience, I have noticed that if I installed the SDK by copying and pasting the contents of the downloaded, compressed, folder to a destination rather than extracting it first, I would be required to run as Administrator. If this is the case, delete the SDK that you copied out of the compressed folder and simply extract the contents of the downloaded compressed folder. I am running Windows 7 so it is likely that this applies to all Windows 7 and 8 OS's.

In another case, I have also seen issues like this if the JRE is installed second rather than first. In this case, a reinstall of the SDK is probably all that is required.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top