有关Eclipse svn 插件的坑

来源:互联网 发布:魔百和网络机顶盒 编辑:程序博客网 时间:2024/06/05 16:32

svn 导入安卓项目不能被识别为安卓项目

原因分析

.project文件 没有正确的上传或不正确导致的项目不能被识别

案例 .project 文件来自项目主版本 ,迁出后不能识别为安卓项目

<?xml version="1.0" encoding="UTF-8"?><projectDescription>    <name>YiDongGuanJia</name>    <comment></comment>    <projects>    </projects>    <buildSpec>    </buildSpec>    <natures>    </natures></projectDescription>

我的分支中 修正后正确的.project 文件,导入后能识别为安卓项目

<?xml version="1.0" encoding="UTF-8"?><projectDescription>    <name>YiDongGuanJia</name>    <comment></comment>    <projects>    </projects>    <buildSpec>        <buildCommand>            <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>            <arguments>            </arguments>        </buildCommand>        <buildCommand>            <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>            <arguments>            </arguments>        </buildCommand>        <buildCommand>            <name>org.eclipse.jdt.core.javabuilder</name>            <arguments>            </arguments>        </buildCommand>        <buildCommand>            <name>com.android.ide.eclipse.adt.ApkBuilder</name>            <arguments>            </arguments>        </buildCommand>    </buildSpec>    <natures>        <nature>com.android.ide.eclipse.adt.AndroidNature</nature>        <nature>org.eclipse.jdt.core.javanature</nature>    </natures></projectDescription>

  • svn 导入安卓项目不能被识别为安卓项目
    • 原因分析
      • 案例 project 文件来自项目主版本 迁出后不能识别为安卓项目
      • 我的分支中 修正后正确的project 文件导入后能识别为安卓项目

0 0