cropsly / ffmpeg-android-java

Android java library for FFmpeg binary compiled using https://github.com/writingminds/ffmpeg-android
http://writingminds.github.io/ffmpeg-android-java
GNU General Public License v3.0
3.32k stars 830 forks source link

dagger-compiler-1.2.2.jar(com.squareup.dagger:dagger-compiler:1.2.2) #285

Open osamax2009 opened 6 years ago

osamax2009 commented 6 years ago

when i create the apk file this error will came out Error:Execution failed for task ':app:javaPreCompileDebug'.

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.

  • dagger-compiler-1.2.2.jar (com.squareup.dagger:dagger-compiler:1.2.2)
  • butterknife-5.1.2.jar (com.jakewharton:butterknife:5.1.2) Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior. Note that this option is deprecated and will be removed in the future. See https://developer.android.com/r/tools/annotation-processor-error-message.html for more details.
NizNsm commented 6 years ago

I already faced this isssue, You may add this two lines on the dependencies

dependencies { annotationProcessor 'com.squareup.dagger:dagger-compiler:1.2.2' annotationProcessor 'com.jakewharton:butterknife:5.1.2' }