体验最新版AndroidStudio3.0 Canary 8的时候,发现之前项目的butter knife报错,用到注解的应该都会报错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. - butterknife-7.0.1.jar 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.在app的build中android { ... defaultConfig { ... //添加如下配置就OK了 javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true } } } ...}Mr.Smile填坑记——AndroidStudio3.0 Can
-
nginx系列-nginx日志配置总结
nginx系列-nginx日志配置总结
-
ueditor 特殊符号转义
几个月前,就有同事跟我反馈,说磨途歌的留言板有问题。当时看了一下,她用的是谷歌浏览器,确实打不出中文,才按下一个字母,英文字母就从输入法的输入框中直接跳出来了,更换火狐浏览器就没这个问题。很奇怪的是,在我电脑上的火狐浏览器跟谷歌浏览器都没有问题,一开始还以为是她电脑的问题,就没在意了。
-
php使用正则表达式提取字符串中尖括号、小括号、中括号、大括号中的字符串
php使用正则表达式提取字符串中尖括号、小括号、中括号、大括号中的字符串
-
ffmpeg去除水印
ffmpeg去除水印
-
FFMPEG 实现混音,加水印,加文字,模糊水印任意滤镜组合
FFMPEG,实现混音,加水印,加文字,模糊水印,任意滤镜组合
-
NodeJS实现视频转码
视频转码就是一个先解码,再编码的过程,从而将原来的视频转换成我们需要的视频。这种转换可能包括各式(mp4/avi/flv等)、分辨率、码率、帧率等。
-
Fingerprintjs2:一款开源设备指纹采集器,pc浏览器唯一id
Fingerprintjs2是一款开源的设备指纹采集器。最初的fingerprintjs库创建于2012年,但是由于新版本的开发很难保持向后兼容,因此Fingerprintjs2项目中增加了很多的新内容。
-
android studio error: Default interface methods are only supported starting with Android N (--min-api 24)
android studio error: Default interface methods are only supported starting with Android N (--min-api 24)
-
ffmpeg-修改分辨率
ffmpeg-修改分辨率
-
NodeJS实现视频转码
视频转码就是一个先解码,再编码的过程,从而将原来的视频转换成我们需要的视频。这种转换可能包括各式(mp4/avi/flv等)、分辨率、码率、帧率等。