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

Tim Arwine
Tim Arwine
5,406 Points

Android Studio missing a component. How to fix? Please Help!

As A S was downloading components, it got hung. I re-tried. Hung again. Re-tried several times. I finally decided to skip it hoping for the best. But - now when Android Studio opens, it tells me I can't start a new project because I'm missing something. It says go to Configure > Project Defaults > Project Structure > SDKs to fix the problem. Here's the missing component error message: tools/lib/monitor- x86_64/plugins/org.eclipse.ui.intro.universal_3.2.600.v20120912-155524/themes/purpleMesh/graphics/icons/ctool/firsteps48sel.gif Old dir was moved away, but new one failed to be moved into place. Trying to move old one back.java.io.IOException: failed to move new dir into place Warning: An error occurred during installation: failed to move new dir into place.

1 Answer

From what I could find it seems like it's a hard (read: annoying) error to fix. The simplest way is to uninstall and reinstall, a pain for sure, but that is the "fun" of setting up development environments! :p

Tim Arwine
Tim Arwine
5,406 Points

Thank you Shane, I was already thinking along those lines. I have to questions that I hope will make that step work: 1. Any idea how to avoid this on the next install? (What is something I DID or DIDN'T do?) And 2. I've heard that doing a simple uninstall isn't enough. We need to use a special cleaner or something to root out all the little bits of Android before doing a fresh re-install? Your thoughts?

It sounds like it happened originally because of getting corrupted on one of the failed attempts, if you can prevent the failures from occurring again you should be good. You are right that a simple uninstall would probably not be good enough, I found a helpful guide on completely ridding yourself of it here Uninstall/Reinstall Android Studio.

Hope that helps.

Tim Arwine
Tim Arwine
5,406 Points

Shane, Thank you very much. I'll follow the tutorial.