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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:33:59+00:00 2026-06-11T23:33:59+00:00

While trying to create a shared library using android-ndk-r8b it shows the error Your

  • 0

While trying to create a shared library using android-ndk-r8b it shows the error

Your APP_BUILD_SCRIPT points to an unknown file /home/myLib/ndk1/jni/Android.mk 
Android NDK Aborting...    .Stop

For my application,I simply created a jni folder which contains a ndk1.c file and Android.mk file

Steps for building library:

export ARM_ROOT=/home/myLib/android-ndk-r8b
    export ARM_TOOL=/home/myLib/android-ndk-r8b/toolchains/arm-linux-androideabi-   
4.4.3/prebuilt/linux-x86
    export ARM_LIB=/home/myLib/android-ndk-r8b/platforms/android-8/arch-arm/usr/lib
    export ARM_LIBO=/home/myLib/android-ndk-r8b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/lib/gcc/arm-linux-androideabi/4.4.3
    export ARM_INC=/home/myLib/android-ndk-r8b/platforms/android-8/arch-arm/usr/include
    export ARM_PRE=arm-linux-androideabi
    export NDK=/home/myLib/android-ndk-r8b 
    export PATH=$PATH:/home/myLib/android-ndk-r8b
    export NDK_PROJECT_PATH=/home/myLib/ndk1

Please help with your valuable suggestions!!

  • 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-11T23:34:00+00:00Added an answer on June 11, 2026 at 11:34 pm

    This is a very good tutorial for ndk beginners
    http://marakana.com/forums/android/examples/49.html

    In tutorial :
    as you are building on android-ndk-r8b
    replace step which says

    go to  your NDK-HOME and  run  make APP=ndk_demo
    

    do this

    go to your android project directory and run ndk-build in terminal
    

    Checklist

    1) Make sure path NDK path is set

    2) Make sure you generated the header file and moved to jni folder

    3) You copied appropriate function signature from the header file to your c file
    this a place people make mistakes while referring to examples they blindly copy the function signature while using some other package name and class name.

    JNIEXPORT jint JNICALL Java_com_your_package_class_method(JNIEnv *d, jobject e, jstring f);
    

    4)Make file is present inside your jni folder and contains the correct c file name

    5)You are running ndk-build in correct directory ,i.e., project home directory

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

Sidebar

Related Questions

I am getting strange errors while trying to create a simple database using isql
I'm trying to create a database. But i get an error while i'm doing.
Today I was trying to create a application using Hibernate as ORM. So while
I'm trying to create a dynamic library using Qt on OS X 10.6.7 and
Im trying to create counter that using shared block memory, just look code: $i=0;
I am to create a shared library for Android OS. Although I have done
I find my self lost while trying to create an actually pretty easy SQL
I am having a trouble while trying to create an entity with a custom
I have ran into an interesting issue while trying to create a more usable
How can I replace storyboard with XIB? While trying to create dynamically views 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.