Removal of native layer compilation support in eclipse

Source: Internet
Author: User

1.. project file

Delete all XML node elements that include the ORG.ECLIPSE.CDT prefix. The following is a complete compilation configuration file that includes the CDT.

<?xml version= "1.0" encoding= "UTF-8"? ><projectdescription><name>xapp</name><comment ></comment><projects></projects><buildSpec><buildCommand><name> Org.eclipse.cdt.managedbuilder.core.genmakebuilder</name><triggers></triggers><arguments ></arguments></buildCommand><buildCommand><name> com.android.ide.eclipse.adt.resourcemanagerbuilder</name><arguments></arguments></ Buildcommand><buildcommand><name>com.android.ide.eclipse.adt.precompilerbuilder</name> <arguments></arguments></buildCommand><buildCommand><name> org.eclipse.jdt.core.javabuilder</name><arguments></arguments></buildcommand>< Buildcommand><name>com.android.ide.eclipse.adt.apkbuilder</name><arguments></arguments ></buildcommand><buildcommand><name>org.eclipse.cdt.managedbuilder.core.scannerconfigbuilder</name><triggers>full,incremental,</triggers><arguments></ Arguments></buildcommand></buildspec><natures><nature> com.android.ide.eclipse.adt.androidnature</nature><nature>org.eclipse.jdt.core.javanature</ Nature><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></natures></ Projectdescription>

Buildcommand. And the elements in the Natuve are to be deleted.


2. Delete the. cproject file, this file is a/C + + compilation configuration.


3. Delete the JNI with src/, res/sibling folder, and the Armeabi under JNI


4. Remove project from the work range. And then import it again.

This step is important, and the work interval caches each project compilation result. Only such a full change of the above will take effect.


ref : http://pilcrowpipe.blogspot.com/2011/12/removing-native-support-from-android.html


Removal of native layer compilation support in eclipse

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.