dialogflow / dialogflow-android-client

Android SDK for Dialogflow
https://dialogflow.com
Apache License 2.0
575 stars 270 forks source link

Annotation processor dependency error #36

Open danilodequeiroz opened 7 years ago

danilodequeiroz commented 7 years ago

I'm running 'com.android.tools.build:gradle:2.4.0-alpha7' on AS 2.4 Preview 7 and getting the following error:

Error:Execution failed for task ':zapImoveisApp:javaPreCompileZapDebug'.

Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration.

As you can see on the provided url documentation, it's possible to disable the verification for this error using the following gradle config, but must be used as a temporary solution, because it may be removed in the future.

javaCompileOptions { annotationProcessorOptions { includeCompileClasspath false } }

So we need a alternative solution that fits this new annotation processor dependency configurations.

CyrusCeasar commented 7 years ago

I met same question . Have you solved this question ?