体验最新版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
-
Cannot find TypeScript Modules
npm install -g typescript
-
android studio 导出jar和so包
jar包只有设置library属性才会出现
-
libc++_shared是什么冲突
NDK 支持多种 C++ 运行时库。本文档介绍了这些库的相关信息、所涉及的折衷做法以及库的使用方法。
-
NDK--CMakeLists配置第三方so库
当我们创建一个NDK工程时,会自动创建一个CMakeLists.txt的文件,在AS中c++的编译器是使用LLVM,规则为cmake,今天来学习下cmake的基本套路 首先,我创建了两个NDK工程,第一个工程为lib,为第二个工程提供so库
-
NodeJS封装mongodb
NodeJS操作 Mongodb 并且对 Mongodb 类库进行封装
-
nodejs mongodb账号密码连接
Nodejs通过账号密码连接MongoDB数据库
-
ios 模拟器 tabbar黄色
解决办法,拔掉电源,重启模拟器,再插上电源
-
UIBarButtonSystemItem各个icon的样子
UIBarButtonSystemItem各个icon的样子
-
ios navigationBar backBarButtonItem去掉返回文字只留下下箭头
隐藏/去掉导航栏返回按钮文字,注意代码一定要放在跳前面
-
iOS ViewController的四种跳转方法
从一个VC中点击Button跳转到另一个VC