2017-11-03 13 views

答えて

0

いけない5.1.2 jar.InsteadはGradleの中で、この最新バージョンを使用しても、それを動作させるために、アノテーションを使用して使用します。

dependencies { 
    compile 'com.jakewharton:butterknife:8.8.1' 
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' 
} 
0

このlibの最新バージョンを追加してください。そして、あなたの依存関係にannotationProcessorを追加することを忘れないでください:

compile 'com.jakewharton:butterknife:8.8.1' 
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' 
0

アプリのGradle

compile 'com.jakewharton:butterknife:8.8.1' 
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' 

、その後、あなたのクラスにバインドするのではなく、BindViewを使用した後で、以下の行を追加します。

関連する問題