NDK提示Unresolved inclusion

引用http://stackoverflow.com/questions/23122934/eclipse-adt-unresolved-inclusion-jni-h

编辑工程目录下的“.project”文件

<buildCommand>
            <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
    。。。。。。
</buildCommand>

<buildCommand>
            <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
            <triggers>full,incremental,</triggers>
            <arguments>
            </arguments>
</buildCommand>

结点删除

<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.core.ccnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>

删除

重新打开工程并添加本地代码Add Native Support

posted on 2016-05-16 04:05  coffeesoft  阅读(121)  评论(0)    收藏  举报

导航