摘要: 项目上线过程中遇到“Error getting 'android:label' attribute: attribute is not a string value”这个错误。备忘下:是因为有activity的label = “@null” 阅读全文
posted @ 2015-12-11 10:30 githere 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 最近由于项目自动化构建的需要,研究了下gradle调用脚本并传参的用法,在此作个总结。Prebuild.gradle中定义了$jenkinsJobName $jenkinsBuild两个Jenkins变量,意图将gradle中的这两个值传到shell/python脚本中去用def jenkinsBu... 阅读全文
posted @ 2015-11-27 17:26 githere 阅读(13010) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/yin_jw/article/details/435246591.配置在tomcat目录下直接把文件放在tomcat6/webapps/ROOT目录下,然后在网址中访问:http://192.168.2.31:8080/download.zip便可下载。2.... 阅读全文
posted @ 2015-11-20 11:30 githere 阅读(580) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/xww810319/article/details/17607749Android截屏浅析链接:http://blog.sina.com.cn/s/blog_69a04cf4010173fz.htmlAndroid的调试工具DDMS提供截屏功能,很多同步软件... 阅读全文
posted @ 2015-10-21 18:31 githere 阅读(1418) 评论(0) 推荐(0) 编辑
摘要: http://104zz.iteye.com/blog/1752961原文地址:http://blog.csdn.net/hk_256/article/details/7306590,转载请注明出处一、基本介绍 在Android 4.0 之前,Android手机上如果要使用截屏功能,只能通过Root... 阅读全文
posted @ 2015-10-21 18:28 githere 阅读(3017) 评论(0) 推荐(0) 编辑
摘要: https://datatheorem.github.io/android/2014/12/26/android-screencapture/https://www.youtube.com/watch?v=tT1XSoykjtAANDROID LOLLIPOP SCREEN CAPTURE AND ... 阅读全文
posted @ 2015-10-21 18:25 githere 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 转自:http://magiclen.org/android-drawingcache/日期:2014 年 8 月 27 日|作者:Magic Len開發Android的時候,在許多情況下會使用到View的getDrawingCache方法來取得View目前顯示出來的樣子(DrawingCache)... 阅读全文
posted @ 2015-10-21 16:50 githere 阅读(197) 评论(0) 推荐(0) 编辑
摘要: http://www.douban.com/note/311599602/首先,先download最新版本的gradle,网址如下:http://www.gradle.org/get-started然后将下载下来的zip包放在你要安装的路径上,我安装在/usr/local/bin;然后打开电脑上的.... 阅读全文
posted @ 2015-10-20 17:42 githere 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 1) Jenkin中用-Pxxxx = yyyy来传值进gradle2) 在AndroidManifest.xml中定义占位符:3) 通过gradle脚本修改占位符的值 def xxxx = hasProperty('xxxx') ? xxxx : defaultValue manifestPl... 阅读全文
posted @ 2015-10-20 17:12 githere 阅读(169) 评论(0) 推荐(1) 编辑
摘要: LeakCanary:检测所有的内存泄漏http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/0509/2854.html原文:LeakCanary: Detect all memory leaks!1234ava.lang.OutOf... 阅读全文
posted @ 2015-10-16 16:02 githere 阅读(241) 评论(0) 推荐(0) 编辑