今天在ubuntu安装ssh的时候报了下面的错误:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process...
分类:
系统相关 时间:
2015-03-09 17:32:10
阅读次数:
241
1、foreground process 正处于activity resume状态 正处于bound服务交互的状态 正处于服务在前台运行的状态(StartForeGround()被调用) Service生命周期正在被执行(onCreate(),onStart(),onDestroy()) ...
分类:
移动开发 时间:
2015-03-09 12:25:28
阅读次数:
143
三条独立的生命周期、同一生命周期内的阶段存在依赖关系 Clean Lifecycle pre-clean clean post-clean Default Lifecycle validate initialize generate-sources process-sources ...
分类:
其他好文 时间:
2015-03-09 12:21:26
阅读次数:
136
某deamo只能在运行时调试,通过GDB中的attach命令绑定线程,一切都OK了。
步骤如下:
1)确定线程号
我的process名为webproc,使用ps -eL显示线程
[syscom@sysbase0-0 linux]$ ps -eL|grep webproc
29176 29176 pts/0 00:00:00 webproc
29176 29182 pts/0 0...
分类:
编程语言 时间:
2015-03-08 18:55:25
阅读次数:
272
CSC : fatal error CS0042: Unexpected error creating debug information file 'xxxx.PDB' -- 'c:\Builds\xxxx.pdb: The process cannot access the file becau...
分类:
数据库 时间:
2015-03-08 13:01:21
阅读次数:
443
任意新建一个js文件,只需一行代码:console.dir(process);保存该文件后执行,即可得到process变量的属性值列表: 1 { 2 title: 'node', 3 version: 'v0.10.30', 4 moduleLoadList: ['B...
分类:
系统相关 时间:
2015-03-08 11:44:42
阅读次数:
266
设置好Monkey的CLASSPATH环境变量以指定”/system/framework /framework/monkey.jar“后,/system/bin/monkey这个shell脚本就会通过app_process命令指定monkey的入口类” “com.android.commands.monkey.Monkey”找到main函数开始运行。在运行之前会有一些初始化的工作需要做,其中很重要的一项就是去把用户提...
分类:
其他好文 时间:
2015-03-07 22:47:50
阅读次数:
227
在编写Java程序时,有时候我们需要调用其他的诸如exe,shell这样的程序或脚本。在Java中提供了两种方法来启动其他程序:(1)使用Runtime的exec()方法(2)使用ProcessBuilder的start()方法Runtime和ProcessBulider提供了不同的方式来启动程序,...
分类:
编程语言 时间:
2015-03-07 19:53:41
阅读次数:
180
1.在服务程序安装时编程实现,ProjectInstaller.csusingSystem;usingSystem.Collections;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Configura...