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 trialTomas Gil
13,146 PointsCant include ButterKnife into the project. I tried to these lines of code into the gradle but it doesnt work
buildscript { repositories { mavenCentral() } dependencies { classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' } }
apply plugin: 'com.neenbedankt.android-apt'
dependencies { compile 'com.jakewharton:butterknife:8.0.1' apt 'com.jakewharton:butterknife-compiler:8.0.1' }
Tomas Gil
13,146 PointsI tried to follow the guidelines in here https://github.com/JakeWharton/butterknife#download to install ButterKnife into my project, but they didnt work. I pasted the lines of code that can be found in the "download" section into build.gradle (Module:app), but I got an error. Failed to syn Gradle project "stormy" : could not find com.android.support-annotations: 23.3.0
1 Answer
Seth Kroger
56,413 PointsOpen the SDK Manager and update the Support Libraries and Repositories under SDK Tools.
Seth Kroger
56,413 PointsSeth Kroger
56,413 PointsAre they in the app's build.gradle file, and not the projects? What error messages are you getting?