解决eclipse中 overlaps the location of another project:'xxxx'

本文介绍了解决在Eclipse中创建Android项目时遇到的错误:项目路径与已有项目重叠的问题。通过将源码移出workspace目录,避免创建过程中出现冲突。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

解决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>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值