Skip to content

when the use of ndk build clean fails

Mark Johnson edited this page Mar 8, 2018 · 2 revisions

<-- 'List of Themes'


Notes: when the use of ndk-build clean fails:

  • This is a bug in ndk r8e. Works correctly in r9c
    • How to fix it:
      • Edit the file $(ndk_dir)build/core/build-binary.mk
      • Change the line
      
      

$(cleantarget): PRIVATE_CLEAN_FILES := ($(my)OBJS) to $(cleantarget): PRIVATE_CLEAN_FILES := $($(my)OBJS) * after that it should work correctly

Clean: geos [armeabi]
Clean: gnustl_shared [armeabi]
Clean: gnustl_static [armeabi]
Clean: iconv [armeabi]
Clean: jsqlite [armeabi]
Clean: proj [armeabi]
Clean: spatialite [armeabi]
Clean: sqlite [armeabi]
Clean: geos [armeabi-v7a]
...
Clean: proj [x86]
Clean: spatialite [x86]
Clean: sqlite [x86]
  • it is important to use ndk-build clean before making major configuration changes
    • avoids something in the project getting confused ...

2014-05-04: Mark Johnson, Berlin Germany


Clone this wiki locally