opened
chrenjay
username_0
It was worked normal before. I don't know why it doesn't work normal suddenly. 
When I add a new field, and it doesn't bind to view. Then I clean and rebuild the project, and all field aren't bound.

Below is my gradle file
```
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext.kotlin_version = '1.0.2'
    repositories {
        jcenter()
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.1.0'
        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

        classpath "io.realm:realm-gradle-plugin:1.0.0"

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

```

```
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
apply plugin: 'kotlin-android'
apply plugin: 'realm-android'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.3"

    defaultConfig {
        applicationId "org.watching"
        minSdkVersion 21
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.4.0'
    compile 'com.github.bumptech.glide:glide:3.7.0'
    compile 'com.android.support:recyclerview-v7:23.4.0'
    compile 'com.google.code.gson:gson:2.4.0'
    compile 'com.squareup:otto:1.3.5'
    compile 'com.squareup.retrofit2:retrofit:2.0.2'
    compile 'com.squareup.retrofit2:converter-gson:2.0.2'
    compile 'com.squareup.retrofit2:adapter-rxjava:2.0.2'
    compile 'io.reactivex:rxandroid:1.2.0'
    compile 'io.reactivex:rxjava:1.1.4'

    compile 'com.jakewharton:butterknife:8.0.1'
    apt 'com.jakewharton:butterknife-compiler:8.0.1'

    compile 'com.android.support:design:23.4.0'
    compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
    compile 'com.android.support:cardview-v7:23.4.0'
}
```

My gradle file ought to right, I think there is something conflict?
It doesn't work normal sometime
issue
created
JakeWharton
username_1
Looks fine. Can you see the generated files in the
build/generated/source/apt/ folder?
comment
created
chrenjay
username_0
Yes, I can see, it has a debug folder and a test\debug folder, but all are empty.
comment
created
chrenjay
username_0
@username_1 I'm so sorry to trouble with you, I'm find there is something wrong with kotlin plugin, and may be it's the reason case butterknife don't work. Because when I delete kotlin plugin, my project work normal.
comment
closed
chrenjay
username_0
issue
created
felipepaiva
username_2
Guys, for this problem i just solved it duplicating apt line declaration and adding 'k' like this:
 apt 'com.jakewharton:butterknife-compiler:8.4.0'
 kapt 'com.jakewharton:butterknife-compiler:8.4.0'
Just that!
comment