程序中初始化控件方法:(View)findViewById(int redID),而且还得强制转化为相应类型,code浪费大量的时间, 阅读起来也不美观。 //一般写法,很累跟强制转换似的,很难受这样写 tv_title...
1.安装cpptools插件 2.安装 code runner插件 3.安装 native debug 插件,用于gdb图形化调试你的C/C++程序 Visual Studio Code 和GCC共同调试C/C++程序 调试C/C++程序 添加头文件索引路径。在...
公司根据业务的不同选用技术也有所不同,目前流行的网络请求使用RxJava + Retrofit2框架实现的。通过Retrofit2框架的@Post()来注解login()方法返回Observale类型或Flowable类型。Observable与...
弹出An error has occurred.See the log file错误提示! 解决方法: 解决:修改项目工作空间。 修改工作空间,以前打开myEclipse时知道怎么改!现在只有找配置文件了! 步骤: Eclipse-----...
ConstraintLayout 不能作为activity的根节点,否则fragment显示不出来
最近遇到一个异常,觉得很奇怪 启动服务: [java] view plain copy print? con.startService(new Intent("com.polysaas.msg.sdk.service")); 打印出来如下的异常,系统直接crash 不至于啊,启...
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 ...
1.使用Google的Gson解析Jason,需要引入gson-2.24.jar 引入方式修改gradle.build文件 dependencies { compile 'com.google.code.gson:gson:2.2.4' } 编译过程会下载该jar到Externa...
没有更多内容
加载失败,请刷新页面
文章删除后无法恢复,确定删除此文章吗?
动弹删除后,数据将无法恢复
评论删除后,数据将无法恢复