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 trialAnglebert Masunda
6,406 PointsGradle sync failed due to Butterknife dependencies in build.gradle
I've been following the Build a weather app tutorial and have hit a brick wall. My gradle won't sync after including the ... implementation 'com.jakewharton:butterknife:8.8.1' and annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' files into my build.gradle(app) for Butterknife.
Anglebert Masunda
6,406 PointsAnglebert Masunda
6,406 Pointsapply plugin: 'com.android.application'
android { compileSdkVersion 26 defaultConfig { applicationId "com.angelbert.stormy" minSdkVersion 14 targetSdkVersion 26 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } }
dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:26.1.0' implementation 'com.android.support.constraint:constraint-layout:1.0.2' //Okhttp implementation 'com.squareup.okhttp3:okhttp:3.10.0'
}