I tried to configure Eclipse and got this errors. How i can solve this?
我试图配置Eclipse并得到这个错误。我怎么能解决这个问题?
There is an error, when i try to launch Eclipse.
当我尝试启动Eclipse时出现错误。
And this error, when i try to change Android project settings.
而这个错误,当我尝试更改Android项目设置时。
1 个解决方案
#1
1
i was facing the same problem but this answer worked for me give it a try.
我面临同样的问题,但这个答案对我有用。试一试。
Serializing CDT Project settings has encountered a null pointer exception exception
序列化CDT项目设置遇到空指针异常异常
(from there:
(从那里:
Eclipse had added an extra node to my .cproject file, making it three in total. I removed this one, which was the one added by Eclipse and also the last one in the file.
Eclipse在我的.cproject文件中添加了一个额外的节点,总共有三个节点。我删除了这个,这是Eclipse添加的那个,也是文件中的最后一个。
<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>
After removing that and restarting Eclipse everything was working again.
删除它并重新启动Eclipse后,一切都恢复正常。
)
)
#1
1
i was facing the same problem but this answer worked for me give it a try.
我面临同样的问题,但这个答案对我有用。试一试。
Serializing CDT Project settings has encountered a null pointer exception exception
序列化CDT项目设置遇到空指针异常异常
(from there:
(从那里:
Eclipse had added an extra node to my .cproject file, making it three in total. I removed this one, which was the one added by Eclipse and also the last one in the file.
Eclipse在我的.cproject文件中添加了一个额外的节点,总共有三个节点。我删除了这个,这是Eclipse添加的那个,也是文件中的最后一个。
<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>
After removing that and restarting Eclipse everything was working again.
删除它并重新启动Eclipse后,一切都恢复正常。
)
)