c/c++ Indexer has encountered a problem

来源:互联网 发布:端口数据监听工具 编辑:程序博客网 时间:2024/05/17 01:41

在用ecplise 导入项目时 提示‘c/c++ Indexer’ has encountered a problem 此错误。

解决方法:

找到android项目中的.cproject文件,将其中的:

<cconfiguration id="0.1230402123.1377291156"><storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="0.1230402123.1377291156" moduleId="org.eclipse.cdt.core.settings" name="Debug"><externalSettings/><extensions><extension id="org.eclipse.cdt.core.VCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/><extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/><extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/><extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/><extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/><extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/></extensions></storageModule><storageModule moduleId="org.eclipse.cdt.core.externalSettings"/></cconfiguration>

删除,大概在170行左右,然后将项目重新导入即可。

原创粉丝点击