- 博客(5)
- 资源 (10)
- 收藏
- 关注
原创 Ubuntu下gradle运行卡住,出现Exception in thread "png-cruncher_2"错误的解决办法
今天在ubuntu下使用android studio时,gradle运行一直卡在“Gradle Build Running”,看了下控制台,一排错误日志: Exception in thread "png-cruncher_2" java.lang.RuntimeException: Timed out while waiting for slave aapt process, try
2015-12-28 13:22:42 2051
原创 Android学习之Service生命周期及其通信
ServiceService是Android中的最重要的四大组件之一。google官方给的定义是:Service(服务)是一个没有用户界面的在后台运行执行耗时操作的应用组件。其他应用组件能够启动Service,并且当用户切换到另外的应用场景,Service将持续在后台运行。另外,一个组件能够绑定到一个service与之交互(IPC机制),例如,一个service可能会处理网络操作,播放音乐,操作文件
2015-12-11 13:59:42 1411
原创 Android学习之简单理解布局的layout_gravity和gravity属性
如果在FrameLayout、TableLayout、LinearLayout、RelativeLayout或GridLayout设置gravity 属性为center,相当于告诉该布局容器下的所有控件按center(居中)排序。 布局文件: <LinearLayout xmlns:android="http://schemas.android.com/ap
2015-12-09 19:38:58 1132
原创 Android学习之HttpURLConnection对象的使用
使用HttpURLConnection对象发送数据到服务器和从服务器读取数据开始之前先引用官方原话: Android 6.0 release removes support for the Apache HTTP client. If your app is using this client and targets Android 2.3 (API level 9) or higher, us
2015-12-09 18:53:08 939
原创 配置maven构建的webApp项目部署到Tomcat服务器
配置maven webApp项目部署到tomcat环境tomcat8jdk8STS配置tomcat在tomcat的 \conf 目录下,打开tomcat-users.xml添加以下内容:<role rolename="manager-gui" /> <role rolename="manager-script" /> <role rolename="manager-jmx" /> <role rol
2015-12-07 09:47:49 2840
LaunchMode
2015-10-27
activity-lifecycle
2015-10-23
activit整合SSH三大框架demo
2015-08-03
sqlserver2012管理对象安装包
2014-12-10
GEF-ALL-3.7.2
2014-07-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人