Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android Build a Simple Android App Getting Started with Android Creating the Fun Facts Project

kabir k
PLUS
kabir k
Courses Plus Student 18,036 Points

An error is preventing the use of Android Studio

At 1:04 of the Creating the Fun Facts Project video, I keep getting the following error messages in the Downloading Components part of Android Studio Setup Wizard screen.

Ignoring unknown package filter 'sys-img-x86-addon-google_apis-google-23'Warning: The package filter removed all packages. There is nothing to install.
         Please consider trying to update again without a package filter.
Ignoring unknown package filter 'sys-img-x86-addon-google_apis-google-23'
Ignoring unknown package filter 'sys-img-x86-addon-google_apis-google-23'Warning: The package filter removed all packages. There is nothing to install.
         Please consider trying to update again without a package filter.
Ignoring unknown package filter 'sys-img-x86-addon-google_apis-google-23'
Ignoring unknown package filter 'sys-img-x86-addon-google_apis-google-23'Warning: The package filter removed all packages. There is nothing to install.
         Please consider trying to update again without a package filter.
Ignoring unknown package filter 'sys-img-x86-addon-google_apis-google-23'
Ignoring unknown package filter 'sys-img-x86-addon-google_apis-google-23'Warning: The package filter removed all packages. There is nothing to install.
         Please consider trying to update again without a package filter.
Ignoring unknown package filter 'sys-img-x86-addon-google_apis-google-23'
Ignoring unknown package filter 'sys-img-x86-addon-google_apis-google-23'Warning: The package filter removed all packages. There is nothing to install.
         Please consider trying to update again without a package filter.
Ignoring unknown package filter 'sys-img-x86-addon-google_apis-google-23'

and when I clicked Finish and tried to select Start a new Android Studio project from the top of the list, I got the following message:

SDK problem

Your Android SDK is missing, out of date, or is missing templates.
You can configure your SDK via Configure | 
Project Defaults | Project Structure | SDKs

making it impossible to follow along with using the Android Studio to build the app. Also, I have reinstalled many times but end up with the same errors.

Can someone help figure out what is causing this problem and how to fix it?

Another thing, while installing at the beginning, I noticed that my list of components to be installed was missing an item about Google APIs when compared to the Installation Guides in the teacher's note. Could that be the cause of the problem? And if so, how do I fix it?

Thanks.

2 Answers

kabir k
PLUS
kabir k
Courses Plus Student 18,036 Points

It works now. So, what I did was, quit the Android Studio. Moved the program to the Trash and uninstalled it completely via the Terminal, using the following commands:

rm -Rf /Applications/Android\ Studio.app
rm -Rf ~/Library/Preferences/AndroidStudio*
rm ~/Library/Preferences/com.google.android.studio.plist
rm -Rf ~/Library/Application\ Support/AndroidStudio*
rm -Rf ~/Library/Logs/AndroidStudio*
rm -Rf ~/Library/Caches/AndroidStudio*

rm -Rf ~/.android

rm -Rf ~/Library/Android*

Then after that, I re-installed the Android Studio using the second Mac link in the teacher's notes.

Note - I used the second link so that I can have the exact same outcome as the teacher's in the video, with the goal of updating the Android Studio later

Sorry I think treehouse missed a step here, you shouldn't have to change you ide to complete a challenge!