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 8661757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:34:29+00:00 2026-06-12T16:34:29+00:00

I’m having some major difficulty in compiling some sample C code (hello-jni.c) that came

  • 0

I’m having some major difficulty in compiling some sample C code (hello-jni.c) that came with android-ndk-r8b in Eclipse on Windows 7. I followed the instructions from here http://mhandroid.wordpress.com/2011/01/23/using-eclipse-for-android-cc-development/
(In step 7, I changed ndk-build to bash -c ndk-build to get this to run correctly). Eclipse spits out the following error:

12:23:44 **** Incremental Build of configuration Default for project MyAndroidProject ****
bash -c ndk-build 
Install        : libhello-jni.so => libs/armeabi/libhello-jni.so
/cygdrive/c/make-3.82/install: line 1: Installation: command not found
/cygdrive/c/make-3.82/install: line 2: AndroidManifest.xml: command not found
/cygdrive/c/make-3.82/install: line 4: syntax error near unexpected token `C'
/cygdrive/c/make-3.82/install: line 4: `Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004 Free'
make: *** [libs/armeabi/libhello-jni.so] Error 2
/cygdrive/c/android-ndk-r8b/build/core/build-binary.mk:418: recipe for target `libs/armeabi/libhello-jni.so' failed

12:23:45 Build Finished (took 1s.82ms)

I’m pretty sure I included all the necessary files and directories and set up the PATH environment variable(in Windows) correctly, but I have no idea why it keeps giving me this error.

edit: Forgot to mention that I was able to compile the code successfully in the Cygwin (latest version) shell. I just want to know if there is a way to do this with Eclipse (Juno), ADT v20.

  • 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-12T16:34:30+00:00Added an answer on June 12, 2026 at 4:34 pm

    You should follow the ADT instructions.

    Generally speaking, NDK r8b comes with its prebuilt version of make, and can be used without cygwin altogether. For this case, it has ndk-build.cmd.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I have a small JavaScript validation script that validates inputs based on Regex. I
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
Specifically, suppose I start with the string string =hello \'i am \' me And
I have this code to decode numeric html entities to the UTF8 equivalent character.

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.