用命令行cmd编译C++ in android 应用

  • Post author:
  • Post category:其他


地址:

http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/android_dev_intro.html

标题:building application native part from command line

注:强烈建议使用cmd.exe而不是使用cygwin。

1打开平台,到应用的根目录,


2运行ndk-build,


注:

a>在windows下,最好用ndk-build.cmd

可以在后面加一些参数:

b>

c>rebuild all