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

Mark Leonard
7,428 PointsInstalled android studio for the first time, and gradle is giving aidl error
At the bottom of the screen under "Gradle Build" I am getting this error:
Error:Execution failed for task ':app:compileDebugAidl'.
> aidl is missing
Looking around online I'm not able to see anything. I haven't done anything except install the java SDK, android studio, and then create a project.
1 Answer

James Simshaw
28,738 PointsHello,
It sounds like you still might need to install either a part of, or the entire Android SDK. In the most recent version of Android Studio, can you go to Tools, Android, SDK Manager, and make sure the Android Tools, Andrpid Build Tools, Android Platform Tools, as well as one API level. For more information, please refer to [this] page.
Mark Leonard
7,428 PointsMark Leonard
7,428 Pointsthanks. I first tried just uninstalling and reinstalling and that seems to have worked.