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

  • SEARCH
  • Home
  • 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 7952299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T02:49:13+00:00 2026-06-04T02:49:13+00:00

How to include jar files of the Android platform when using the javah tool

  • 0

How to include jar files of the Android platform when using the javah tool to create a C/C++ .h header file ???

  • 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-06-04T02:49:14+00:00Added an answer on June 4, 2026 at 2:49 am

    Assuming:

    1. your android SDK is installed in C:\android\sdk (and you have downloaded Android 1.5 platform)
    2. your android NDK is installed in C:\android\ndk

    Open command line window. Go to C:\android\ndk\samples\hello-jni folder. And execute the following:

    javah -classpath C:\android\sdk\platforms\android-3;src com.example.hellojni.HelloJni
    

    It will generate com_example_hellojni_HelloJni.h file with JNI functions for hello-jni example from Android NDK.

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

Sidebar

Related Questions

in our web-app project, we include some jar files. For patching some issues of
Can I include the rt.jar in my executable jar file and double click to
I have some jar files that will be distributed to clients that are using
I developed a web application using phone gap framework for android platform. I only
I would like to use a .jar file generated by SWIG in an Android
I have jar files which I constructed using command jar -cf Generic.jar /java/mypackage/*.class There
I'm trying to create an Android application in Eclipse using the Maven plugin and
I am trying to include a library into my android project using IntelliJ IDEA
I need an .hgdontignore file :-) to include certain files and exclude everything else
I have been using so many 3rd party libraries(jar files) that my CLASSPATH is

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.