appcompat_v7是Google自己的一个兼容包,就是一个支持库,能让Android2.1以上全使用上4.0版本的界面。解决方法一:不管appcompat_v7的存在,直接做自己的项目。解决方法二:不慎删除appcompat_v7的人,然后出现小红叉叉。点击菜单栏"Project",选择"Cl...
分类:
移动开发 时间:
2014-10-29 21:26:01
阅读次数:
202
If you want to use version 3.1 you need to use the following schema:
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd
Note that 3.0 and 3.1 are different: in 3.1 there's no Sun mentioned, so si...
分类:
Web程序 时间:
2014-10-29 19:25:41
阅读次数:
310
$h = Get-SPServiceHostconfig$h.Provision()$services = Get-SPServiceApplicationforeach ($service in $services) { $service.provision(); write-host $serv...
分类:
移动开发 时间:
2014-10-29 19:19:03
阅读次数:
365
??
The choice of whether to design your functionality as an interface or an abstract class can sometimes be a difficult one. An
abstract class is a class that cannot be instantiated, but must be inh...
??
Abstract classes are closely related to interfaces. They are classes that cannot be instantiated, and are frequently either partially implemented, or not at all implemented. One key difference bet...
当在IIS中修改绑定的端口号后启动时遇到如下错误,表明你的端口号已经被占用了
使用netstat -ano这个指令查看本地端口占用情况,换一个没有被占用的端口即可。
??...
分类:
数据库 时间:
2014-10-29 13:03:17
阅读次数:
176
I have a UIView and I'm trying to set its layer properties.self.colorSwatch = [[UIView alloc] initWithFrame:CGRectMake(400, 150, 100, 100)];self.color...
分类:
其他好文 时间:
2014-10-29 12:39:13
阅读次数:
143
附加到txt:StreamWrite sw =System.IO.File.AppendText(path); //绝对路径 sw.Write("写入内容");写入到txt: StreamWrite sw2 =new StreamWrite();sw.Write("写入内容");最后都要 sw.Cl...
Channels can bebuffered. Provide the buffer length as the second argument tomaketo initialize a buffered channel:ch := make(chan int, 100)Sends to a b...
分类:
其他好文 时间:
2014-10-29 01:43:40
阅读次数:
142
In fact, you can define a method onanytype you define in your package, not just structs.You cannot define a method on a type from another package, or ...
分类:
其他好文 时间:
2014-10-28 19:46:15
阅读次数:
203