1.第三方jar包的使用 如果在Java Build Path中使用Add External JARs这种方式,运行时会有找不到类的错误(我的上面有,如果你没出现,恭喜你),上网查了几种方式,我这边运行通过的方式如下: 在项目中建个lib文件夹,把需要的jar包复制进去,在 Java Build P...
分类:
移动开发 时间:
2014-06-23 08:32:49
阅读次数:
387
在使用ubuntu64位(14.04)时,下载来一个adt-bundle-linux-x86_64-20131030.zip,但是运行时报错:Android:Gradle:ExecutionfailedfortaskCannotrunprogramandroid-studio/sdk/build-t...
分类:
移动开发 时间:
2014-06-23 08:08:09
阅读次数:
329
Minimum Path Sum:Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along...
分类:
其他好文 时间:
2014-06-22 23:06:39
阅读次数:
290
//依赖组件[模块]导入
var express = require('express');
var path = require('path');
var favicon = require('static-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var log = require('./...
分类:
微信 时间:
2014-06-22 21:39:42
阅读次数:
401
你可以做如下实验来验证这个上限值:
在任意目录下新建一个目录。在该新建目录下创建一个任意文件,使其名字长度不能再输入为止。把该文件的全路径名copy到Microsoft Word中进行Word Count统计,你会发现长度为259。
再加上一个字节的'\0',就刚好是上限260字节。尽管如此,你仍然可以做出一个全路径文件名长度超出MAX_PATH=260的文件。参看上一篇博客:http:/...
在任意一个目录下新建一个文件夹。在该新建文件夹下创建任意一个文件;重命名该文件,使文件名长度不能再长为止。重命名该新建文件夹,使该文件夹的名字长度更长。
综上,你就在Windows中做出了一个全路径文件名长度超出MAX_PATH=260字节的文件。...
一.TARGET_BUILD_VARIANT=user
当选择的编译类型为user的时候,可以在/build/core/main.mk中看到(android 4.2):
# Turn on Dalvik preoptimization for user builds, but only if not
# explicitly disabled and the build is running on Linux (since host
# Dalvik isn't built for non-L...
分类:
移动开发 时间:
2014-06-22 18:17:14
阅读次数:
443
Given a triangle, find the minimum path sum from top to bottom. Each step you may
move to adjacent numbers on the row below.
For example, given the following triangle
[
[2],...
分类:
其他好文 时间:
2014-06-22 17:07:52
阅读次数:
166
在Eclipse中,有时候需要跨工程调用其他工程中的方法。如下面有两个Java Project :如果要在A工程中调用B工程中的类,可以将B工程添加到A工程中: A---- >Build Path---- >Configure Build Path---- >Java Build Path 选择P....
分类:
编程语言 时间:
2014-06-21 17:45:00
阅读次数:
231
微软近期Open的职位:Title: Principal Dev ManagerLocation: BeijingThe R&D of Shared Data Platform at Search Technology Center Asia aims to build a unified data...
分类:
其他好文 时间:
2014-06-21 16:13:42
阅读次数:
241