TS_developer

导航

2016年2月23日 #

2月份学习笔记

摘要: android 禁用和开启四大组件的方法(setComponentEnabledSetting ) 如何关闭组件?只要创建packageManager对象和ComponentName对象,并调用packageManager对象的setComponentEnabledSetting方法。 public 阅读全文

posted @ 2016-02-23 10:27 TS_developer 阅读(304) 评论(0) 推荐(0) 编辑

2016年2月18日 #

AndroidStudio 中的坑Error:(1, 0) Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRID

摘要: 将 build.gradle 中 的 classpath改为2.0.+ dependencies { classpath 'com.android.tools.build:gradle:2.0.+'然后出现错误Warning:Gradle version 2.10 is required. Curr 阅读全文

posted @ 2016-02-18 18:43 TS_developer 阅读(1647) 评论(0) 推荐(0) 编辑

AndroidStudio开发出现Warning:Gradle version 2.10 is required. Current version is 2.8. If u

摘要: Warning:Gradle version 2.10 is required. Current version is 2.8. If using the gradle wrapper, try editing the distributionUrl in F:\work\qxueyou\gradl 阅读全文

posted @ 2016-02-18 14:06 TS_developer 阅读(2417) 评论(0) 推荐(0) 编辑

2015年11月16日 #

Git 问题

摘要: You are not currently on a branch, so I cannot use any症状:有一次pull的时候又出现冲突,这回用“git reset --hard FETCH_HEAD”方法都不行了,出现:$ git pullYou are not currently on ... 阅读全文

posted @ 2015-11-16 14:18 TS_developer 阅读(379) 评论(0) 推荐(0) 编辑

2015年11月5日 #

判断年 月的值

摘要: int time::daysinMonth(int year, int month){ if(month 12) { return -1; } bool leapYear = false; if( (year%4==0 && year%100!=0) |... 阅读全文

posted @ 2015-11-05 13:37 TS_developer 阅读(152) 评论(0) 推荐(0) 编辑

2015年7月24日 #

ubuntu 使用wine卸载软件

摘要: 现在的网络应用许多被windows绑架了,有时候不得不下载一些.exe的的东西在ubuntu下载配合一下,但是后来我想卸载这些.exe应用程序,于是百度了一下,一位博主写的好,如下,晒出来:cd~/.local/share/applications/wine/Programs切换到目录后,将不需要的... 阅读全文

posted @ 2015-07-24 14:16 TS_developer 阅读(177) 评论(0) 推荐(0) 编辑

2015年7月14日 #

转自论坛,拿来时刻反思,反省。

摘要: JavaAmg77 举报 展望未来,总结过去10年的程序员生涯,给程序员小弟弟小妹妹们的一些总结性忠告 走过的路,回忆起来是那么曲折,把自己的一些心得体会分享给程序员兄弟姐妹们,虽然时代在变化,但是很可能你也会走我已经做过的10年的路程,有些心得体会你可以借鉴一下,觉得说得有道理的你就接纳,觉... 阅读全文

posted @ 2015-07-14 14:10 TS_developer 阅读(164) 评论(0) 推荐(0) 编辑

2015年7月9日 #

Ubuntu下两个gcc版本切换

摘要: Ubuntu系统使用的gcc版本随着发布版本的不同而不同,在编译Android系统时不同的版本推荐用不同的gcc去编译,那么可不可以改变系统的gcc来适应android编译环境的需求呢?答案是可以的。先看看我们系统用的gcc和g++是什么版本gcc -v可以获得的信息如下gcc version 4.... 阅读全文

posted @ 2015-07-09 15:44 TS_developer 阅读(193) 评论(0) 推荐(0) 编辑

2015年4月16日 #

Git 分支管理和冲突解决

摘要: 创建分支 git branch 没有参数,显示本地版本库中所有的本地分支名称。 当前检出分支的前面会有星号。 git branch newname 在当前检出分支上新建分支,名叫newname。 git checkout newname 检出分支,即切换到名叫newname的分支。 ... 阅读全文

posted @ 2015-04-16 11:01 TS_developer 阅读(722) 评论(0) 推荐(0) 编辑

2015年4月15日 #

Git 常用命令整理

摘要: 初始化配置C代码#配置使用git仓库的人员姓名gitconfig--globaluser.name"YourNameComesHere"#配置使用git仓库的人员emailgitconfig--globaluser.emailyou@yourdomain.example.com#配置到缓存默认15分... 阅读全文

posted @ 2015-04-15 17:33 TS_developer 阅读(274) 评论(0) 推荐(0) 编辑