NDK-Build how to rebuild a project?

I use the cocos2d-x project double structure for windows and android, and using cygwin to create my project, it first creates the whole solution:

to build

$ ANDROID_NDK_ROOT / ndk-build -C $ GAME_ANDROID_ROOT $ *

but in the following lines it does not create my modified files. How to make him rebuild the whole project?

+4
source share
2 answers

The problem was solved by passing a clean parameter; another possible solution is to force the -B option.

+6
source

I'm not sure if this is the case, but if you use Eclipse, you need to update your project (F5 or right-click on the project in Project Explorer and select Refresh), after ndk-build and then create it in Eclipse. When you create your own part on the command line, Eclipse is not automatically aware of the changes made to the file.

0
source

Source: https://habr.com/ru/post/1386172/


All Articles