命令行输出 :
Microsoft Windows [版本 10.0.19041.1288] (c) Microsoft Corporation。保留所有权利。 Y:\002_WorkSpace\001_AS\HackTool>Y:/001_DevelopTools/002_Android_SDK/ndk/android-ndk-r14b-windows-x86_64/android-ndk-r14b/ndk-build.cmd NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk NDK_APPLICATION_MK=./Application.mk [armeabi] Compile thumb : bridge <= bridge.c [armeabi] SharedLibrary : libbridge.so [armeabi] Install : libbridge.so => libs/armeabi/libbridge.so [armeabi] Compile++ arm : hacktool <= HackTool.cpp [armeabi] Compile++ arm : hacktool <= main.cpp [armeabi] Compile++ arm : hacktool <= public.cpp [armeabi] Compile++ arm : hacktool <= Ptrace.cpp [armeabi] Compile++ arm : hacktool <= json_reader.cpp [armeabi] Compile++ arm : hacktool <= json_value.cpp [armeabi] Compile++ arm : hacktool <= json_writer.cpp [armeabi] Compile arm : hacktool <= adler32.c [armeabi] Compile arm : hacktool <= compress.c [armeabi] Compile arm : hacktool <= crc32.c [armeabi] Compile arm : hacktool <= deflate.c [armeabi] Compile arm : hacktool <= gzclose.c [armeabi] Compile arm : hacktool <= gzlib.c [armeabi] Compile arm : hacktool <= gzread.c [armeabi] Compile arm : hacktool <= gzwrite.c [armeabi] Compile arm : hacktool <= infback.c [armeabi] Compile arm : hacktool <= inffast.c [armeabi] Compile arm : hacktool <= inflate.c [armeabi] Compile arm : hacktool <= inftrees.c [armeabi] Compile arm : hacktool <= trees.c [armeabi] Compile arm : hacktool <= uncompr.c [armeabi] Compile arm : hacktool <= zutil.c [armeabi] Compile++ arm : hacktool <= Compressor.cpp [armeabi] Executable : hacktool [armeabi] Install : hacktool => libs/armeabi/hacktool [armeabi-v7a] Compile thumb : bridge <= bridge.c [armeabi-v7a] SharedLibrary : libbridge.so [armeabi-v7a] Install : libbridge.so => libs/armeabi-v7a/libbridge.so [armeabi-v7a] Compile++ arm : hacktool <= HackTool.cpp [armeabi-v7a] Compile++ arm : hacktool <= main.cpp [armeabi-v7a] Compile++ arm : hacktool <= public.cpp [armeabi-v7a] Compile++ arm : hacktool <= Ptrace.cpp [armeabi-v7a] Compile++ arm : hacktool <= json_reader.cpp [armeabi-v7a] Compile++ arm : hacktool <= json_value.cpp [armeabi-v7a] Compile++ arm : hacktool <= json_writer.cpp [armeabi-v7a] Compile arm : hacktool <= adler32.c [armeabi-v7a] Compile arm : hacktool <= compress.c [armeabi-v7a] Compile arm : hacktool <= crc32.c [armeabi-v7a] Compile arm : hacktool <= deflate.c [armeabi-v7a] Compile arm : hacktool <= gzclose.c [armeabi-v7a] Compile arm : hacktool <= gzlib.c [armeabi-v7a] Compile arm : hacktool <= gzread.c [armeabi-v7a] Compile arm : hacktool <= gzwrite.c [armeabi-v7a] Compile arm : hacktool <= infback.c [armeabi-v7a] Compile arm : hacktool <= inffast.c [armeabi-v7a] Compile arm : hacktool <= inflate.c [armeabi-v7a] Compile arm : hacktool <= inftrees.c [armeabi-v7a] Compile arm : hacktool <= trees.c [armeabi-v7a] Compile arm : hacktool <= uncompr.c [armeabi-v7a] Compile arm : hacktool <= zutil.c [armeabi-v7a] Compile++ arm : hacktool <= Compressor.cpp [armeabi-v7a] Executable : hacktool [armeabi-v7a] Install : hacktool => libs/armeabi-v7a/hacktool [x86] Compile : bridge <= bridge.c [x86] SharedLibrary : libbridge.so [x86] Install : libbridge.so => libs/x86/libbridge.so [x86] Compile++ : hacktool <= HackTool.cpp [x86] Compile++ : hacktool <= main.cpp [x86] Compile++ : hacktool <= public.cpp [x86] Compile++ : hacktool <= Ptrace.cpp [x86] Compile++ : hacktool <= json_reader.cpp [x86] Compile++ : hacktool <= json_value.cpp [x86] Compile++ : hacktool <= json_writer.cpp [x86] Compile : hacktool <= adler32.c [x86] Compile : hacktool <= compress.c [x86] Compile : hacktool <= crc32.c [x86] Compile : hacktool <= deflate.c [x86] Compile : hacktool <= gzclose.c [x86] Compile : hacktool <= gzlib.c [x86] Compile : hacktool <= gzread.c [x86] Compile : hacktool <= gzwrite.c [x86] Compile : hacktool <= infback.c [x86] Compile : hacktool <= inffast.c [x86] Compile : hacktool <= inflate.c [x86] Compile : hacktool <= inftrees.c [x86] Compile : hacktool <= trees.c [x86] Compile : hacktool <= uncompr.c [x86] Compile : hacktool <= zutil.c [x86] Compile++ : hacktool <= Compressor.cpp [x86] Executable : hacktool [x86] Install : hacktool => libs/x86/hacktool Y:\002_WorkSpace\001_AS\HackTool>
编译后 , 在 ndk 工程目录下生成了 libs 和 obj 目录 ;
libs 目录下是编译结果 , 分别表示不同 cpu 架构的编译结果 ;
Y:\002_WorkSpace\001_AS\HackTool\libs\x86\hacktool 是编译出来可以在 x86 手机 , 也就是电脑上的 Android 模拟器中 , 可以运行的 Android 代码调试器 程序 ;