今天遇到了一个奇葩的问题,我把我的sdk tools的版本升级到23后,我在eclipse中尝试升级ADT,发现了这么一个问题,下面分析下原因:
当我在eclipse中选择Help-->Check for updates时,会弹出一个框,如下:
首先解释下这个错误出现的原因:
Eclipse在check for updates时,是根据下图列表中所有的Available Softwa...
分类:
系统相关 时间:
2014-07-01 11:13:52
阅读次数:
441
因为项目用到了ehcache,所以tomcat每次启动日志就打印net.sf.ehcache.util.UpdateChecker doCheck
以前也没有特别留意,今天在启动 Tomcat 的时候,发现了下面这段输出的信息:
{INFO } [2014-06-30 07:42:10,625] : New update(s) found: 2.6.5 [http://www.terracotta.org/confluence/di...
分类:
Web程序 时间:
2014-07-01 07:59:56
阅读次数:
262
上回书说道:灰常灰常基本的数据类型
下面咱们来点高级的:
Tuples 元组
元组存储一对键值,并且没有类型限制
let http404Error = (404, "Not Found")
// http404Error is of type (Int, String), and equals (404, "Not Found")书上废话一堆,反正元组就是这么写,上面的例子还...
分类:
其他好文 时间:
2014-07-01 06:55:09
阅读次数:
236
Foreword
Fortunately, I met “ExtJS” in earlier afternoon, the feeling justlike my encounter with “REST” Actually, at beginning, I had no idea about them,but when I got in touch with REST, I found i...
分类:
Web程序 时间:
2014-06-30 20:09:27
阅读次数:
411
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?
原地图像顺时针旋转90度。因为要求空间复杂度是常数,因此应该迭代旋转操作。
class ...
分类:
其他好文 时间:
2014-06-30 19:51:53
阅读次数:
267
题目
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it witho...
分类:
其他好文 时间:
2014-06-30 19:38:37
阅读次数:
226
题目
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.
Return a deep copy of the list.
方法
publi...
分类:
其他好文 时间:
2014-06-30 19:36:33
阅读次数:
163
题目
Given an array of integers, every element appears three times except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it...
分类:
其他好文 时间:
2014-06-30 19:23:18
阅读次数:
200
本题要求从输入的N个整数中查找给定的X。如果找到,输出X的位置(从0开始数);如果没有找到,输出“Not Found”。
输入格式:
输入在第1行中给出2个正整数N(
输出格式:
在一行中输出X的位置,或者“Not Found”。
输入样例1:
5 7
3 5 7 1 9
输出样例1:
2
输入样例2:
5 7
3 5 8 1 9
输出样例2:
N...
分类:
其他好文 时间:
2014-06-30 17:26:19
阅读次数:
161
SDK和ADT为22.6.2版本
工程为4.4.2
在编译一个Launcher时,报错如下:
sh ndk-build clean
Cannot run program "sh": Launching failed
Error: Program "sh" not found in PATH
PATH=......
在网上看了一下,一直以为是什么GCC的问题,多次...
分类:
系统相关 时间:
2014-06-30 15:45:40
阅读次数:
1319