旧版本的Eclipse项目导入 Neon 4.6 出现不兼容

    xiaoxiao2021-12-14  18

    解决办法:更新.classpath和.project (1).classpath:

    <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> 替换成: <classpathentry kind="con" path="org.eclipse.andmore.ANDROID_FRAMEWORK"/>

    (2).project更新为新的:

    <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>Demo</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.andmore.ResourceManagerBuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.andmore.PreCompilerBuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.andmore.ApkBuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.andmore.AndroidNature</nature> <nature>org.eclipse.jdt.core.javanature</nature> </natures> </projectDescription>
    转载请注明原文地址: https://ju.6miu.com/read-965749.html

    最新回复(0)