加载中
Android findViewById使用技巧

程序中初始化控件方法:(View)findViewById(int redID),而且还得强制转化为相应类型,code浪费大量的时间, 阅读起来也不美观。 //一般写法,很累跟强制转换似的,很难受这样写 tv_title...

2016/11/25 21:56
1.2W
Visual Studio Code

1.安装cpptools插件 2.安装 code runner插件 3.安装 native debug 插件,用于gdb图形化调试你的C/C++程序 Visual Studio Code 和GCC共同调试C/C++程序 调试C/C++程序 添加头文件索引路径。在...

2016/11/28 18:05
1.1W
使用树莓派制作智能小车

开始我们的智能之旅吧

2017/05/12 15:34
7.9K
RxJava框架中Observable<T>与Flowable<T>使用

公司根据业务的不同选用技术也有所不同,目前流行的网络请求使用RxJava + Retrofit2框架实现的。通过Retrofit2框架的@Post()来注解login()方法返回Observale类型或Flowable类型。Observable与...

An error has occurred.See the log file错误解决

弹出An error has occurred.See the log file错误提示! 解决方法: 解决:修改项目工作空间。 修改工作空间,以前打开myEclipse时知道怎么改!现在只有找配置文件了! 步骤: Eclipse-----...

2017/03/27 16:38
4.3K
ConstraintLayout 不能作为activity的根节点,否则fragment显示不出来

ConstraintLayout 不能作为activity的根节点,否则fragment显示不出来

Caused by: java.lang.IllegalArgumentException: Service Intent must be explicit:

最近遇到一个异常,觉得很奇怪 启动服务: [java] view plain copy print? con.startService(new Intent("com.polysaas.msg.sdk.service")); 打印出来如下的异常,系统直接crash 不至于啊,启...

2017/04/18 00:06
3K
Error:Execution failed for task ':app:lint'.

Error:Execution failed for task ':app:lint'. > Lint found errors in the project; aborting build. Fix the issues identified by lint, or add the following to your build script to ...

2017/11/10 09:52
2.8K
Gson混淆无法解析

1.使用Google的Gson解析Jason,需要引入gson-2.24.jar 引入方式修改gradle.build文件 dependencies { compile 'com.google.code.gson:gson:2.2.4' } 编译过程会下载该jar到Externa...

2017/03/23 12:48
2.2K

没有更多内容

加载失败,请刷新页面

返回顶部
顶部