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 trialEvan Kuester
Courses Plus Student 763 PointsCould not find com.android.tools.build:aapt2:3.3.2-5309881.
When I try and run the code on the emulator with out doing anything it fails with the error "Could not find com.android.tools.build:aapt2:3.3.2-5309881." When I follow the video it fails for the same reason when Ben asks to run the app
1 Answer
Lauren Moineau
9,483 PointsHi Evan. Make sure you have the google()
repository in your build.gradle (Project)
file.
buildscript {
repositories {
google() // here
jcenter()
}
// (...)
}
allprojects {
repositories {
google() // and here
jcenter()
}
}
// (...)
Hope this helps :)