解决eclipse中 overlaps the location ofanother project:'xxxx'
new -> android project -> create project from existsource
出现如下错误信息:
Invalid project description
------>detail: ->>> xxxx(project path)overlaps the location of another project: 'xxxx'
最后发现时源码放到了workspace目录下导致的。
eclipse插件在创建项目的时候需要在workspace目录下创建一个同名的目录。
但发现workspace目录下已存在对应的目录时,就会报上面的处错误信息了。
解决办法很简单,就是将源码包移到非workspace目录下。
<?xml version="1.0"encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<itemandroid:id="@android:id/background">
<shape>
<cornersandroid:radius="1dip" />
<solidandroid:color="@android:color/darker_gray"/>
</shape>
</item>
<itemandroid:id="@android:id/secondaryProgress">
<clip>
<shape>
<corners android:radius="1dip"/>
<gradient
android:startColor="#80ffd300"
android:centerColor="#80ffb600"
android:centerY="0.75"
android:endColor="#a0ffcb00"
android:angle="270" />
</shape>
</clip>
</item>
<itemandroid:id="@android:id/progress">
<clip>
<shape>
<cornersandroid:radius="1dip" />
<solidandroid:color="@android:color/holo_orange_dark"/>
</shape>
</clip>
</item>
</layer-list>