android项目新建的时候需要一个单独的文件夹,否则会报错,原因如下:
The resource APIs are a bit tricky here. When you create a new project,
you should specify the project location as null if you want it to go in
the default location -- i.e., <workspace root> / <project name>.
Only use IProjectDescription#setLocation[URI]() to set a non-null
location if it *won't* live in that default location, otherwise you'll
get the "overlapping location" error.
原谅英语烂到一定程度的人吧,用了朋友的翻译工具,翻译结果为:
在资源 Api 这里有点棘手。当您创建新的项目,如果您想要去,应作为空指定项目的位置默认位置 — — 例如,<workspace root="">/<project name="">。只使用 IProjectDescription#setLocation[URI]() 设置非空位置如果它 * 不会 * 活中的默认位置,否则你会获得"重叠位置"错误。</project></workspace>