butterknife 8.2.1 with dagger 2 error

Created on 21 Jul 2016  路  4Comments  路  Source: JakeWharton/butterknife

after update to butterknife 8.2.1 start getting this error when build the project

cannot find symbol class DaggerActivityComponent
and
cannot find symbol class DaggerApplicationComponent

Error:Bad service configuration file, or exception thrown while constructing Processor object: javax.annotation.processing.Processor: Provider butterknife.compiler.ButterKnifeProcessor could not be instantiated: java.lang.NoSuchMethodError: com.squareup.javapoet.CodeBlock.of(Ljava/lang/String;[Ljava/lang/Object;)Lcom/squareup/javapoet/CodeBlock;

Most helpful comment

Use Dagger 2.5. Old versions bundled JavaPoet incorrectly.

All 4 comments

Use Dagger 2.5. Old versions bundled JavaPoet incorrectly.

thank you.

it works, thanks

It works , thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anthony3444 picture anthony3444  路  3Comments

sdobek picture sdobek  路  4Comments

engr-umar-qureshi picture engr-umar-qureshi  路  3Comments

momochenxx picture momochenxx  路  3Comments

galibimtiaz picture galibimtiaz  路  3Comments