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 trialkabir k
Courses Plus Student 18,036 PointsAn 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
Courses Plus Student 18,036 PointsIt 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
mark gilchrist
Courses Plus Student 33,169 PointsSorry I think treehouse missed a step here, you shouldn't have to change you ide to complete a challenge!