1.无法正常使用cdt编译c++代码
原因:文件proj.android中缺少build_native.py,从其他低版本引擎项目中拷贝过来即可
下载链接:https://pan.baidu.com/s/1v5jAC1suB73IZaM21DpEWA
参考文档:https://blog.csdn.net/lqjingfeng/article/details/52738903
2. elipse 报出An internal error occurred during: “C/C++ Indexer”. java.lang.NullPointerExcption 错误
删除文件proj.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>
参考文档:https://blog.csdn.net/litter_star/article/details/49996515