Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Self-Destructing Message Android App Adding Users Using Parse.com Creating an Account and App on Parse.com

Wont let me drag and drop jar file into libs

help me please

2 Answers

John Coffin
John Coffin
10,359 Points

Which OS are you using? I was unable to do this in Windows 7 64-bit, but I found that if I opened Windows Explorer and browsed to the file, I could copy (i.e. CTRL-C), switch to Eclipse, and then right-click and paste the JAR file into \libs.

If this doesn't work, you can copy the file into the \libs directory in Windows Explorer and then refresh the project, or you can right-click the \libs folder in Eclipse and then "Import" from a "file system" (which I believe is the intended usage, but the method above is just so much easier and quicker).

Somehow it became unable to do that on my windows 7 64bit. I used to be able to. Just for now, COPY the file, right-click the "libs" folder in eclipse, and PASTE it, until somebody puts the solution.

Oops, John Coffin already mentioned that. Forgive me for this post, because I can't delete it.