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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:07:58+00:00 2026-06-16T01:07:58+00:00

Possible Duplicate: Prevent ndk-build from automatically cleaning module Android project with an NDK library.

  • 0

Possible Duplicate:
Prevent ndk-build from automatically cleaning module

Android project with an NDK library. NDK r8c. Compiling under Cygwin (it’s an old project).

A bunch of C++ and C files, and some .a libraries linked via LOCAL_LDLIBS.

Since some time ago, I’m noticing that every NDK build goes over all source files. Even if I call the ndk-build twice in a row, there’s a full rebuild on second try. There’s nothing to the effect in the .mk files that I can see, and the command I invoke to build is a vanilla $NDKPATH/ndk-build. There’s no -B option anywhere.

The only wrinkle is this: on every build, NDK says the following:

/cygdrive/c/android-ndk-r8c/build/core/add-application.mk:128: Android NDK: WARNING:
APP_PLATFORM android-9 is larger than android:minSdkVersion 3 in
/cygdrive/d/AppPath/AndroidManifest.xml

What’s going on, please? Can I somehow see based on what file dates is make making a decision to rebuild it all?

  • 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-16T01:08:00+00:00Added an answer on June 16, 2026 at 1:08 am

    There is a known bug in r8c that causes full rebuilds even without any source code changes. See this bug report.

    The suggested fix (not mine) is to change line 289 of build/core/definitions.mk from

    $1: $$(__ndk_file_dir)

    to

    $1: | $$(__ndk_file_dir)

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

Sidebar

Related Questions

Possible Duplicate: Is there a clean way to prevent windows.h from creating a near
Possible Duplicate: Prevent click event from affecting parent jquery I have a DOM structure
Possible Duplicate: Prevent PHP script from being flooded Certain friends of mine keep messing
Possible Duplicate: How to prevent IFRAME from redirecting top-level window <iframe width=980px frameborder=0 marginheight=0
Possible Duplicate: how to prevent multiple form submit from client side? We have a
Possible Duplicate: Prevent user from going back to the previous secured page after logout
Possible Duplicate: Prevent a background process from being stopped after closing SSH client I
Possible Duplicate: Prevent Back button from showing POST confirmation alert I have used the
Possible Duplicate: Best way to prevent SQL injection? I'm working in one PHP project
Possible Duplicate: MySQL Trigger to prevent INSERT under certain conditions In MySQL BEFORE INSERT

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.