Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6370895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:59:23+00:00 2026-05-25T00:59:23+00:00

I have an Android (Java) project that includes some native C/C++ code and I

  • 0

I have an Android (Java) project that includes some native C/C++ code and I need it to be able to code complete on various C classes & functions. However the option to include where the (full) source is from does not seem to be available in the Android (Java) project.

Does anyone know of a way to either:
1) Trick Eclipse into including the necessary Project Properties panel item (side panel)?
2) Include the files manually through the use of some form of configuration file?

Thanks,
Kevin

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T00:59:23+00:00Added an answer on May 25, 2026 at 12:59 am

    There are two basic ways to setup a NDK builder in Eclipse:

    1. Creating a custom builder – a bit easier in setup and more portable but does not provide C++ auto-completion and you can not navigate to source by double-clicking in the error console. (This seems to be your case.)
    2. CDT-based builder – results in less portable configuration but provides all IDE features for JNI code.

    Here is a good-looking tutorial for the CDT configuration:
    http://mhandroid.wordpress.com/2011/01/23/using-eclipse-for-android-cc-development/

    To enable the code completion for external sources (and for standard Android headers) you need to open "Project properties" > "C/C++ general" > "Paths and symbols" and add your include paths to the list:

    enter image description here

    NDKROOT – an environment variable containing path to my NDK

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Android java library that uses some native code. I have added
I have an Android project that branched into three different applications, app-1 , app-2
I have a project that is just using Android 1.5 for programming, but with
I'm dipping my toes into Android development. I have a project that will interface
I have an Android Eclipse project that I'd like to divide into two sub-projects.
I'm doing some Android development, and I much prefer Visual Studio, but I'll have
I am developing a library for Android applications which does not use native code
i'm trying to include a maven java project into my android project. the maven
I have an Android project which included a class with a file copy method.
I have two threads in an Android application, one is the view thread, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.